[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: postioning of window
- From: Alem Dain <alem dain gmail com>
- To: Christopher Anderson <sidewinder asu gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: postioning of window
- Date: Thu, 9 Jun 2005 20:02:30 -0700
gtk_window_set_position is for things like "center", "on mouse",
"center on parent", etc. To pick coordinates for the upper left-hand
corner of the screen, use gtk_window_move.
All of these functions are, of course, documented under GtkWindow (see
www.gtk.org API Documentation for more). However, I find the
explanation of window gravity rather opaque. In particular, the
example setting SOUTH_EAST gravity for a window in the lower-right
corner confuses me to no end. What exactly is the purpose of gravity?
-Alem
On 6/9/05, Christopher Anderson <sidewinder asu gmail com> wrote:
> I beleive you can just use gtk_window_set_position () on your main window.
>
> Chris Anderson
>
> On 6/9/05, Mohit Gogia <go4mohit gmail com> wrote:
> > is there any way that i can position gtk window at a particular
> > location on the screen..like at the bottom right corner?
> >
> >
> > --
> > ------------------------------------------
> > Mohit Gogia
> > Sophomore
> > CSE Dept
> > IITB
> > http://www.cse.iitb.ac.in/~mohit
> > ------------------------------------------------
> > _______________________________________________
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> >
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]