Package: gtk
Function gtk:widget-width
Lambda Listgtk:widget-width (widget) ArgumentsReturn ValueThe integer for the width of widget. Details
Returns the content width of the widget, as passed to its size allocate
implementation. This is the size you should be using in the GtkWidgetClass.snapshot() virtual function. For pointer events, see the gtk:widget-contains function. See the gtk:snapshot-append-color documentation for an
example. | See also |
2025-08-23