Re: The size of a widget.
- From: Dave Neary <dneary eircom net>
- To: Roberto <Roberto libero it>
- Cc: gtk-list gnome org
- Subject: Re: The size of a widget.
- Date: Wed, 13 Jun 2001 22:53:50 +0100
On Wed, Jun 13, 2001 at 11:42:07AM +0200, Roberto wrote:
> How can I know the size of a widget?
> Have you a little little example?
There are two answers to this - he size, in memory, of a widget
is given by sizeof(GtkWidget), and the dimensions of a widget are
available in GtkWidget.allocation.(width|height).
Cheers,
Dave.
--
.------------------------------.
/ David Neary, \
| E-Mail dneary eircom net |
\ Phone +353-1-872-0654 /
`------------------------------'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]