Package: gtk

GEnum gtk-assistant-page-type

Details

An enumeration for determining the page role inside the gtk-assistant widget. It is used to handle buttons sensitivity and visibility.

Note that an assistant needs to end its page flow with a page of :confirm, :summary or :progress type to be correct. The Cancel button will only be shown if the page is not "committed". See the gtk-assistant-commit function for details.
(define-g-enum "GtkAssistantPageType" gtk-assistant-page-type
  (:export t
   :type-initializer "gtk_assistant_page_type_get_type")
  (:content  0)
  (:intro    1)
  (:confirm  2)
  (:summary  3)
  (:progress 4)
  (:custom   5))  
:content
The page has regular contents. Both the Back and Forward buttons will be shown.
:intro
The page contains an introduction to the assistant task. Only the Forward button will be shown if there is a next page.
:confirm
The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown.
:summary
The page informs the user of the changes done. Only the Close button will be shown.
:progress
Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete. Only the Back button will be shown.
:custom
Used for when other page types are not appropriate. No buttons will be shown, and the application must add its own buttons through the gtk-assistant-add-action-widget function.
 

See also

*2021-12-3