Gtk.ToolItem.prototype.set_expand

function set_expand(expand:Boolean):void {
    // Gjs wrapper for gtk_tool_item_set_expand()
}

Sets whether tool_item is allocated extra space when there is more room on the toolbar then needed for the items. The effect is that the item gets bigger when the toolbar gets bigger and smaller when the toolbar gets smaller.

Since 2.4

expand

Whether tool_item is allocated extra space