diff options
author | Bastien Nocera <hadess@hadess.net> | 2010-10-30 19:57:55 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-02 12:04:34 +0900 |
commit | ef2fe678325afde5ed09d107432debb0c7c20446 (patch) | |
tree | b86e18e14c4ce8cf82ea0dfe4f07144b39e28ccb /gtk/gtkassistant.h | |
parent | 75fd27e9205a9e1656562b0fa03de20a027cee1a (diff) | |
download | gtk+-ef2fe678325afde5ed09d107432debb0c7c20446.tar.gz |
GtkAssistant: Add more details about buttons shown
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
Diffstat (limited to 'gtk/gtkassistant.h')
-rw-r--r-- | gtk/gtkassistant.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gtk/gtkassistant.h b/gtk/gtkassistant.h index e968e22f92..d745b50cca 100644 --- a/gtk/gtkassistant.h +++ b/gtk/gtkassistant.h @@ -43,15 +43,18 @@ G_BEGIN_DECLS /** * GtkAssistantPageType: - * @GTK_ASSISTANT_PAGE_CONTENT: The page has regular contents. + * @GTK_ASSISTANT_PAGE_CONTENT: The page has regular contents. Both the + * Back and forward buttons will be shown. * @GTK_ASSISTANT_PAGE_INTRO: The page contains an introduction to the - * assistant task. + * assistant task. Only the Forward button will be shown if there is a + * next page. * @GTK_ASSISTANT_PAGE_CONFIRM: The page lets the user confirm or deny the - * changes. + * changes. The Back and Apply buttons will be shown. * @GTK_ASSISTANT_PAGE_SUMMARY: The page informs the user of the changes - * done. + * done. Only the Close button will be shown. * @GTK_ASSISTANT_PAGE_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. * * An enum for determining the page role inside the #GtkAssistant. It's * used to handle buttons sensitivity and visibility. @@ -59,6 +62,9 @@ G_BEGIN_DECLS * Note that an assistant needs to end its page flow with a page of type * %GTK_ASSISTANT_PAGE_CONFIRM, %GTK_ASSISTANT_PAGE_SUMMARY or * %GTK_ASSISTANT_PAGE_PROGRESS to be correct. + * + * The Cancel button will only be shown if the page isn't "committed". + * See gtk_assistant_commit() for details. */ typedef enum { |