addPage
Add a page!
Return
The new page's index or -1 if it could not be immediately added (secret).
Parameters
Text to be shown on the header button (automatically translated), can later be used to reference the page in other calls.
Actor to show when this page is selected.
Actor, typically an Image, to show before the caption.
-1 to add at the end or index of existing page to insert this before
Marks page as 'secret'. A password is asked once per TabbedPager and if it does not match the has passed in the constructor the page and all subsequent secret pages are dropped.
Initial disabled state. Disabled pages cannot be selected even with selectPage, their button is dimmed.
Optional callback called when this page is shown (per actual change to this page, not per header click). Lambda arguments are page index and caption.