Re: Problem with filechooser (defined with Glade)
| From: | Malk0 | Date: | Wed, 25 Jul 2007 22:47:32 +0000 |
| Subject: | Re: Problem with filechooser (defined with Glade) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7994@lists.php.net to get a copy of this message | ||
On 7/25/07, bob majdak jr <bob@kateos.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 is 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