Package: gtk

Function gtk:widget-allocated-width

Lambda List

gtk:widget-allocated-width (widget)

Arguments

widget -- a gtk:widget object to query

Return Value

The 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.

Notes

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

See also

2023-12-26