Re: GtkWidget allocation/requisition width/height broken?



"David J. Topper" <topper virginia edu> writes: 
> It would seem to make sense to have this happen when gtk_widget_show() is
> called, no?  I am doing that, but still getting incorrect values.

No. ;-) It happens in an idle handler.
 
> Ok, but I am also trying to grab size from containers (eg., frames) and
> they have incorrect data as well.

Yes, containers are just widgets. What I'm saying is that container
implementations contain the code which actually size requests and size
allocates the child widgets.

Havoc




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