Gtk.Assistant.prototype.insert_page

function insert_page(page:Gtk.Widget, position:Number):Number {
    // Gjs wrapper for gtk_assistant_insert_page()
}

Inserts a page in the assistant at a given position.

Since 2.10

page

a Gtk.Widget

position

the index (starting at 0) at which to insert the page, or -1 to append the page to the assistant

Returns

the index (starting from 0) of the inserted page