Re: [gtk-list] Re: Window position / size



Ian Main wrote:

> On Mon, 13 Oct 1997 jchrr@HRZ.Uni-Bielefeld.DE wrote:
>
> > Hi !
> >
> > I'd like to restore the last window-position/size, when I start
> gmix. Any
> > idea, how I could do this ? There is no "gtk_get_size" or
> "..get_position"
> > I found, yet, and I don't want to mess with internal GTK structures.
>
> >
> >
> void          gdk_window_get_position    (GdkWindow       *window,
>                                           gint            *x,

Maybe you want to try gdb_window_get_origin instead, because at least
for me gdk_window_get_position didn't work as expected. It seems like
gdk_window_get_position returns a relative and gdb_window_get_origin
returns an absolute position.

bye
Stefan




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