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

Re: getting the requested size of a widget



>How do I get a widget to tell me truly how much size it would like?
>gtk_widget_size_request does not appear to work.

It appears that an answer is to call gtk_widget_size_allocate with a
very large allocation before calling gtk_widget_size_request.


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



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