Re: gtk_widget_show() not showing window



On Mon, 2007-08-27 at 19:00 +0000, G. Paul Ziemba wrote:
     gtk_widget_show_all(window);
     gtk_widget_hide(window);
     gtk_widget_show(window);

     gtk_main();


skoona verizon net (James Scott Jr) writes:

Try this instead.  The gtk_widget_show_all() then gtk_widget_hide() then
gtk_widget_show() is the cause of your problem; unless you were thinking
the window should blink once before appearing.

     gtk_widget_show_all(window);
     gtk_main();

Thank you for your suggestion - I must apologize because
I should have mentioned (but forgot) in my original post that I
am actually trying/helping to debug a problem in a larger piece 
of software (http://bugzilla.gnome.org/show_bug.cgi?id=467776).

This test program is a minimal set of code that demonstrates
the problem. My real question is, should the show_all/hide/show
sequence work?

thanks,

 ~!paul
-- 
G. Paul Ziemba
FreeBSD unix:
11:56PM  up 23 days, 13:16, 12 users, load averages: 1.11, 1.20, 1.16



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]