Re: how to raise a window
- From: Owen Taylor <owt1 cornell edu>
- To: Jean-Baptiste Nivoit <jbnivoit ix netcom com>
- Cc: gtk-list redhat com
- Subject: Re: how to raise a window
- Date: 24 Mar 1998 12:46:49 -0500
Jean-Baptiste Nivoit <jbnivoit@ix.netcom.com> writes:
> i have a multiple window application under way using Gtk, i
> haven't found out yet how to raise a window (to set it top most)... i
> know how to set the focus to one of its widgets, but it is not enough to
> raise it... how do i do it ? (i know some will tell it is not a good
> idea to raise a window... but in some cases it really is!).
gdk_window_raise (widget->window);
As always, when referring to widget->window, you must make sure
the widget is realized. For toplevel widgets, this will happen
the first time you gtk_widget_show() the widget.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]