Re: another way to hide window
- From: Havoc Pennington <hp redhat com>
- To: "Nob Kato" <nobkato mbox kyoto-inet or jp>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: another way to hide window
- Date: 25 Jan 2002 12:29:14 -0500
"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]