Package: gtk

Function gtk-assistant-current-page

Lambda List

gtk-assistant-current-page (assistant)

Syntax

(gtk-assistant-current-page assistant) => index
(setf (gtk-assistant-current-page assistant) index)

Arguments

assistant -- a gtk-assistant widget
index -- an integer with the 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 assistant, nothing will be done

Details

Accessor of the current page of the assistant. The gtk-assistant-current-page function returns the page number of the current page in the assistant. The (setf gtk-assistant-current-page) function switches the page in the assistant to index.

Note that this will only be necessary in custom buttons, as the assistant flow can be set with the gtk-assistant-set-forward-page-func function.
 

See also

*2021-11-1