Widget.getWidth

Returns the content width of the widget.

This function returns the width passed to its size-allocate implementation, which is the width you should be using in vfuncGtk.Widget.snapshot.

For pointer events, see gtk.widget.Widget.contains.

To learn more about widget sizes, see the coordinate system overview.

class Widget
int
getWidth
()

Return Value

Type: int

The width of widget