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
|