[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtk_widget_show() not showing window
- From: James Scott Jr <skoona verizon net>
- To: paul+usenet w6yx stanford edu
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_widget_show() not showing window
- Date: Sun, 02 Sep 2007 22:42:22 -0400
Paul,
I am not sure if you got an answer, so here is my expectation - am I am
no expert.
GTK _show/_hide api have an impact on the expose or painting function of
gtk widgets. This effect is a consolidation of area needing repaint as
a result of many factors. 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,
On Tue, 2007-08-28 at 06:58 +0000, G. Paul Ziemba wrote:
> >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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]