[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Positioning of window.
- From: Martyn Russell <jackrussell subdimension com>
- To: Gtk-App-Devel <gtk-app-devel-list gnome org>
- Subject: Re: Positioning of window.
- Date: 07 Apr 2002 19:37:06 +0100
On Sun, 2002-04-07 at 09:10, David Larsson wrote:
> Hi..
>
> Are there any more functions for positioning the window on startup except
> gtk_window_position_set?
Yes,
you can look at the header files for gdk/gdk.h:
try the following:
- gtk_widget_set_uposition
- gdk_window_move_resize
you need the GdkWindow* for the second function, if you have a
GtkWindow* mywindow, you can get to the GdkWindow* using that, eg:
GdkWindow *win = mywindow->window;
gdk_window_move_resize(win,...)
>
> I would like to have either x,y or just topright corner.
>
> // David
>
> ---
> dls@home.se
> http://dls.mine.nu/
> UIN: 9295124
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Regards,
Martyn
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]