logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: gtk+ 1.2.10, Gtk-Perl 0.7008 -- how the heck do I set initial window po: msg#00085

Subject: Re: gtk+ 1.2.10, Gtk-Perl 0.7008 -- how the heck do I set initial window position?
"Jonathan I. Kamens" <jonathank@xxxxxxxxxxxxxxx> 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/


<Prev in Thread] Current Thread [Next in Thread>