set_current_page


Description:

[ Version ( since = "2.10" ) ]
public void set_current_page (int page_num)

Switches the page to page_num.

Note that this will only be necessary in custom buttons, as the this flow can be set with set_forward_page_func.

Parameters:

this

a Assistant

page_num

index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the this, nothing will be done.