Re: The size of a widget.



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]