Assistant.insertPage

Inserts a page in the assistant at a given position.

class Assistant
int
insertPage

Parameters

page Widget
position int

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

Return Value

Type: int

the index (starting from 0) of the inserted page

Meta

Since

2.10