> If your widget has a window (ie. not a label or other simple widget), you
> should be able to look at the pointer attribute of its GdkWindow:
> x,y = widget.get_window().pointer
>
> This will be relative to the window's top left corner. That is, if the
> pointer is above the window, a negative y value will be returned.
Excellent! Thankyou James (and thanks for pygtk, which is an absolute
joy). But how can I obtain the window's position within the root
window (and for that matter, the dimensions of the root window)?
The reason I want this is for my application to be able to do things
in response to screen edge/corner bumping.
Cheers,
-Rob
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]