Gtk.Toolbar.prototype.get_nth_item

function get_nth_item(n:Number):Gtk.ToolItem {
    // Gjs wrapper for gtk_toolbar_get_nth_item()
}

Returns the n<!-- -->'th item on toolbar, or null if the toolbar does not contain an n<!-- -->'th item.

Since 2.4

n

A position on the toolbar

Returns

The n<!-- -->'th Gtk.ToolItem on toolbar, or null if there isn't an n<!-- -->'th item.