Re: Widget-Size



On Sat, 16 Jun 2001, Roberto Sobachi wrote:

>
> I want to know the size of a widget loaded into  desktop. How?

Try looking in the widget->allocation structure member.  It is a
GtkAllocation structure (see the gtkwidget.h header for details).

You won't be able to get the actual size of the widget until the window is
realized though.

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






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