Re: [gtk-list] more widget size problems/questions
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] more widget size problems/questions
- Date: Sun, 20 Jun 1999 08:09:58 -0400 (EDT)
Hi,
The size request of a widget simply isn't its actual size. It's the size
the widget wants, but it might actually get a smaller or larger value. So,
gtk_widget_size_request() will not give you a widget's size.
I would connect to the size_allocate signal of the widget; you will get
that signal whenever the widget's size changes, and the size allocation
is the size the widget really got.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]