Re: Label resize policy



Vladislav Grinchenko wrote:

How can I find the initial size of Vbox[2]?
How can I find the size of Vbox[2] when user resizes the Dialog?

If I knew the size of Vbox[2], then I can call set_size_request(label, width, -1) and everything works fine.


*any* hints are welcome,

Did you try the "allocation" member?
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-struct
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkAllocation


Daniel K. O.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]