Re: [gtk-list] Re: Window position



From: Glenn Hutchings <zondo@pillock.freeserve.co.uk>
> >I need to show a GtkWindow at the specific position ( described by x,y )
> >on screen.
> >
> >But I found that gtk_window_set_position only support three types of the
> >position, which are Middle, NONE, MOUSE.
> >
> >I wonder whether I can show the GtkWindow at the specific position
> >without auto move mouse?
> >I also wonder what does gtk_widget_popup do? and when to use that
> >function?
> >
> >If anyone knows, please teach me ASAP.
> 
> 
> I think you can use gtk_widget_set_uposition() to set the initial on-screen
> position of a widget(before showing the widget).  Haven't used it myself, so
> I could be wrong.  I think it also depends on your window manager being
> agreeable.
> 
> Glenn

    You should have a look to the FAQ question 5.18.

    Yours,

Emmanuel



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