Widget.getWidth

Returns the content width of the widget.

This function returns the size passed to its size-allocate implementation, which is the size you should be using in GtkWidgetClass.snapshot().

For pointer events, see [method@Gtk.Widget.contains].

class Widget
int
getWidth
()

Return Value

Type: int

The width of @widget

Meta