Re: Bringing a window to the front



Bingo .... I have no idea how I managed to miss that in the docs, but it's been driving insane for the last 3 days. tyvm :-)

Tadej Borovšak wrote:
Hello.

I think that gtk_window_present is the function you're looking for.

http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-present


2009/5/18 Gorshkov <listsubscriptions oghma on ca>:
I have an application where I occasionally open a window when a user selects
a field in another window. 2nd window (usually) is kept open, but over time
becomes hidden by other windows.

The second window automatically becomes the active window when I first show
it, so that's not a problem. My question is this: How do I force the 2nd
window to become the active window, if it is already visible?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list








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