[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Keep window on top?
- From: Peter Clifton <pcjc2 cam ac uk>
- To: Randy Poe <rpoe atl lmco com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Keep window on top?
- Date: Fri, 11 Jan 2008 15:26:07 +0000
On Fri, 2008-01-11 at 10:18 -0500, Randy Poe wrote:
> I'm experimenting with a modal dialog and finding that it
> has an unfortunate behavior. There is nothing forcing the
> window to stay on top. As a result, you can click on the
> underlying window to bring it up, but because there is
> an active modal dialog the main window is unresponsive,
> and the user has no clue why.
>
> This is in Linux.
>
> Is there a call which will force the window to stay on top?
gtk_window_set_transient_for (window, parent);
http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-set-transient-for
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]