Package: gtk

Function gtk-widget-allocated-width

Lambda List

gtk-widget-allocated-width (widget)

Arguments

widget -- the gtk-widget object to query

Return Value

An integer with the width of the widget.

Details

Returns the width that has currently been allocated to widget. This function is intended to be used when implementing handlers for the "draw" function.

Note

The gtk-widget-allocated-width function is equivalent to the call
(gdk-rectangle-width (gtk-widget-allocation widget))    
 

See also

*2021-11-30