Re: gtk+ 1.2.10, Gtk-Perl 0.7008 -- how the heck do I set initial window position?



"Jonathan I. Kamens" <jonathank worldwinner com> writes:

This works sometimes (i.e., window gets placed without user
interaction) and doesn't work sometimes (i.e., user gets asked where
to put the window).  My guess is that it works if the position change
gets processed by the X server before the window manager realizes that
there's a window to be positioned.  Despite searching in the
documentation and on the Web for several hours, I can't find any
explanation of how to set the initial window position early enough
that it always works.

you can also try with Gtk::Widget::set_uposition (on a
Gtk::Window though), although there can be interaction problems
with the window-manager, as you already noticed :/.

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



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