Gtk.ToolItem.prototype.get_expand

function get_expand():Boolean {
    // Gjs wrapper for gtk_tool_item_get_expand()
}

Returns whether tool_item is allocated extra space. See Gtk.set_expand.

Since 2.4

Returns

true if tool_item is allocated extra space.