get_width


Description:

public int get_width ()

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].

Parameters:

this

a `GtkWidget`

Returns:

The width of this