ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-gtk-general
php-gtk-general
Re: [PHP-GTK] Problem with filechooser (defined with Glade)
by Malk0 other posts by this author
Jul 25 2007 3:47PM messages near this date
Re: [PHP-GTK] Problem with filechooser (defined with Glade) | Re: [PHP-GTK] Problem with filechooser (defined with Glade)
On 7/25/07, bob majdak jr <bob@[...].org>  wrote:
>  Malk0 wrote:
>   > fact u should use hide_all() and show_all() most of the time to ensure
>   > all childs widget to get correctly repaint on the screen.
> 
>  No you do not.
> 
>  Why waste the CPU cycles recursively flying down the widget tree when all you need to do i
s hide the
>  container? hide() the container (window) and show() the container, children will still be 
there
>  unaffected. The very first time you create a window is really the only time you need show_
all() for
>  this kind of thing.
> 
>  - bob.

Hi bob,
I think your totally right, in theory at least. I don't precisely
rember but i had to use show_all() in order to get some widget to
correctly refresh in the past ( there's a chance that was with
phpGtk1).
So i think that the best would be to try show/hide first and use
show_all() only when show isn't sufficient. Thanks to point this out.

regards,
nathan

-- 
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Bernard Fouche
Bob Majdak Jr
Bernard Fouche
Malk0
Bernard Fouche
Malk0
Bob Majdak Jr
Malk0
Bernard Fouche

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved