Re: How does GTK implement Iconify and Deiconify itself?



To force a window to be deiconified (or, rather, to request that it be
deiconified), do

	gdk_window_show(win->window);

where "win" is the "GtkWidget *" for the top-level widget for the
window.

You may also want to do

	gdk_window_raise(win->window);

to request that the window be raised to the top of the window stack
(i.e., move it in front of other windows).

There does not appear to be a GDK call to iconify the window (which, in
X, would be done by sending a ClientMessage event to the root of the
type specified by section L.4.1.4 of the ICCCM), so there doesn't appear
to be any way to do that.




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