Gtk.Widget.prototype.get_allocated_width
function get_allocated_width():Number {
// Gjs wrapper for gtk_widget_get_allocated_width()
}Returns the width that has currently been allocated to widget. This function is intended to be used when implementing handlers for the Gtk.draw function.
- Returns
the width of the widget