Re: gtk_widget_show() not showing window



[By the way, the bug report in question is
http://bugzilla.gnome.org/show_bug.cgi?id=467776 ]

I wrote:
    gtk_widget_show_all(window);
    gtk_widget_hide(window);
    gtk_widget_show(window);

    gtk_main();

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?


skoona verizon net (James Scott Jr) writes:
Thus a _show_all. _hide, and _show should be netted to the effect of
a single  gtk_widget_show(); unless there is an opportunity to process
the gtk_main() loop in between calls; and I didn't see that.
Is this your experience?


James, thanks for your responses.

On my FreeBSD-6.2-STABLE system, with gtk-2.10.12_2 or gtk-2.10.14,
the window flashes briefly and then disappears. It acts as if the
second show call has no effect.

I'm now of the belief that gtk+ or something it relies on is broken
on my system. I'm not sure where in the gtk+ code to start digging,
and am hoping for some guidance from someone familiar with the code
to suggest further tests I can conduct.

cheers,

 ~!paul
-- 
G. Paul Ziemba
FreeBSD unix:
10:46PM  up 2 days,  1:16, 7 users, load averages: 0.16, 0.12, 0.13



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