Re: getting the requested size of a widget
- From: Julian Bradfield <jcb+gtk-app-devel inf ed ac uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: getting the requested size of a widget
- Date: Fri, 10 Jul 2009 15:55:30 +0100
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]