Re: window always on top
- From: Sven Neumann <sven gimp org>
- To: "Lourdes Maldonado" <maldonado ibiquity com>
- Cc: <gtk-list gnome org>
- Subject: Re: window always on top
- Date: 01 May 2002 19:56:33 +0200
Hi,
"Lourdes Maldonado" <maldonado ibiquity com> writes:
> The main screen of my application takes up the entire screen (5"x4") and
> I want it always to be visible. My problem is that when I press a
> button that displays an entry form screen that is smaller than my main
> screen (so the main screen is still accessible) if I press on the main
> screen my entry window is hidden by the main screen. I want my entry
> screen to stay on top of the main screen until I hide it by pressing Ok
> or Cancel in the entry screen.
Make the dialog window transient for the application window using
gtk_window_set_transient_for():
http://developer.gnome.org/doc/API/2.0/gtk/gtkwindow.html#GTK-WINDOW-SET-TRANSIENT-FOR
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]