Re: another way to hide window



"Nob Kato" <nobkato mbox kyoto-inet or jp> writes:

In my application, I use GTK+ to create window.
but I can not call gtk_main() because of some reason.

my window can move, minimize and maximize.
but the window never hide, when I call gtk_widget_hide().
Are there other ways to hide GTK+ window (and show window) directly?


No. GTK won't work if you never use the main loop.

You can do:
 while (gtk_events_pending ())
   gtk_main_iteration ();

to avoid calling gtk_main().

Havoc



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