Re: How to raise / focus a window?
- From: carlos pehoe civil ist utl pt (Carlos Pereira)
- To: gtk-app-devel-list gnome org
- Subject: Re: How to raise / focus a window?
- Date: Sun, 25 May 2003 16:36:16 +0100 (WEST)
Functions that you should consider (Gtk1.2)
/* raise a window to the top */
gdk_window_raise (window->window);
/* set position and size: this does 2 jobs,
check also the equivalent 1-job functions
gdk_window_move and gdk_window_resize */
gdk_window_move_resize (window->window->window,
window->origin_x, window->origin_y, window->width, window->height);
/* this makes dialog to always come on top of window */
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window));
Carlos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]