Gtk.ToolItemGroup.prototype.set_item_position

function set_item_position(item:Gtk.ToolItem, position:Number):void {
    // Gjs wrapper for gtk_tool_item_group_set_item_position()
}

Sets the position of item in the list of children of group.

Since 2.20

item

the Gtk.ToolItem to move to a new position, should be a child of group.

position

the new position of item in group, starting with 0. The position -1 means end of list.