getWidth

open fun getWidth(): Int

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.

Return

The width of @widget