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:

 From: muppet <scott asofyet org>
 Date: 28 Jan 2003 20:03:40 -0500
 the gdk-level functions typically map almost directly to the Xlib
 functions, so you should be able to do a $gtkwindow->show followed by
 $gtkwindow->window->move or something similar.

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

The most efficient to get your answer is probably to try to
review the sourcecode (it seems like it's gdk/x11/gdkwindow-x11.c
in gtk2).

Guillaume Cottenceau -

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