[pygtk] getting actual size of widget
Mitko Haralanov
mitko at qlogic.com
Fri May 23 05:49:12 WST 2008
I am trying to find a way to get the actual size (in pixels) of a
widget.
What I have is a main application window which contains a
notebook. Each of the notebook pages contains a table. When the main
window is resized, the notebook (and the tables on the pages) get
resized. I would like to be able to find the actual width and height of
the table in the GtkNotebook page.
I have tried using GtkWidget.get_allocation() but that returns the same
number regardless of how much I resize the main window.
Any advice is appreciated.
Thank you
--
Mitko Haralanov
==========================================
56. Sorry, we deleted that package last week...
--Top 100 things you don't want the sysadmin to say
More information about the pygtk
mailing list