Re: How to set main window position



On Wed, 2003-08-06 at 09:49, Günther Rapp wrote: 
Hallo to all

how can I set the main window of a gtk always to the same place
at the screen  as example to the left top edge (0,0) of the screen
not to use X11 window startup arguments but gtk setups

Thanks for help
guenther

On Thu, 2003-08-07 at 17:10, Benno Mielke wrote:
Hello,

maybe you're looking for "set_uposition( GtkWidget *widget, gint x, gint y);" ?

So long ...

gtk_widget_set_uposition is deprecated.  I believe the correct function
to use for this is gtk_window_move

http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-move

--
Shaun






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]