You would need to access the allocation member of the GtkWidget class,
which is currently not wrapped. Expect to see it in pygtk-0.6.0
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 21 Apr 1999, Rick Ree wrote:
> This may be a dumb question, but how can you find out the dimensions of a
> widget? I am drawing on a canvas, and would like to lay out some objects
> according to how much real estate I have to work with: i.e., if the user
> has maximized the window the objects will be more spread out.
>
> I've perused gtk.py looking for a get_size() of some such, but no luck.
>
> TIA
> --Rick Ree
>
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]