James Henstridge wrote:
> >
> > I was wondering how to tell a widgets screen geometry x,y,width,height..
> > I can get the width height through size_request but nothing else.. :(
>
> You can use the get_allocation() method to get the space allocated to the
> widget (as a 4 tuple (x,y, width,height)).
>
> James.
The tuple it gives me is [0, 0, width, height] never giving me the
allocated X, Y
So can anybody tell me how to get parent widget ID's? If so a recursive
function will be able to tell me what the X,Y position of the Widget is
in relation to the Main Window.. :)
Also is there an editres style Gtk Widget viewer..
Thanks
Shane
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk