It turns out that set_geometry() does not place windows as specified
because it does not take window decorations, etc., into account:
http://bugzilla.gnome.org/show_bug.cgi?id=518606
A fix has been coded - I am awaiting release of same before going back
to my window tiling app.
J.
On Sun, 2008-06-08 at 00:56 +0200, Gian Mario Tagliaretti wrote:
On Tue, Jun 3, 2008 at 6:50 AM, Jason Grant [EMAIL PROTECTED] wrote:
Hi Jason,
I understand this is the pygtk list but am hoping for tips on use of
wnck via python - after looking at the source of gnome-python-desktop,
I'm not sure where else to go for gnome-python discussion.
I think this is the best place too.
I'm writing my first python program - my aim is to implement some window
tiling support for gnome.
After calculating window positions, I invoke wnck.window.set_geometry(),
however the windows are not being placed according to the supplied
x,y,width,height - see output code below.
I think a minimal example that shows the problem will be a great help
in trying to help you :)
Anyway the bindings for this function are not being manually wrapped,
so it's really weird.
cheers
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/