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

On Tue, 2003-01-28 at 20:30, Jonathan I. Kamens wrote:

By the time you do a show, it's too late.  You need to be able to set
the window manager properties *before* the window is mapped.  I.e.,
you need to do the equivalent of the XSetWMProperties Xlib call.  I
cannot find any Gtk or Gdk call that is equivalent to

be that as it may, i just tried 

  $window->window->move ( 252, 35 );

and it worked.

it may be that your window is really complicated, and it takes a long
time between the show and move so that there is flicker, so you could

  $window->window->move (...);

(which didn't work for me, even though it sounds like it should)

as for the gtk2 perl bindings, those are underway, check

muppet <scott asofyet org>

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