Gtk.Widget.prototype.get_allocated_height

function get_allocated_height():Number {
    // Gjs wrapper for gtk_widget_get_allocated_height()
}

Returns the height that has currently been allocated to widget. This function is intended to be used when implementing handlers for the Gtk.draw function.

Returns

the height of the widget