[pygtk] wnck.window.set_geometry() misbehaving
Jason Grant
expires07 at logular.com
Tue Jun 10 11:56:27 WST 2008
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 <expires07 at logular.com> 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
More information about the pygtk
mailing list