getWidth

open fun getWidth(): <Error class: unknown class>

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 vfunc@Gtk.Widget.snapshot.

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

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

Return

The width of @widget