GtkAssistant {RGtk2} | R Documentation |
A widget used to guide users through multi-step operations
gtkAssistantNew(show = TRUE)
gtkAssistantGetCurrentPage(object)
gtkAssistantSetCurrentPage(object, page.num)
gtkAssistantGetNPages(object)
gtkAssistantGetNthPage(object, page.num)
gtkAssistantPrependPage(object, page)
gtkAssistantAppendPage(object, page)
gtkAssistantInsertPage(object, page, position)
gtkAssistantSetForwardPageFunc(object, page.func, data)
gtkAssistantSetPageType(object, page, type)
gtkAssistantGetPageType(object, page)
gtkAssistantSetPageTitle(object, page, title)
gtkAssistantGetPageTitle(object, page)
gtkAssistantSetPageHeaderImage(object, page, pixbuf = NULL)
gtkAssistantGetPageHeaderImage(object, page)
gtkAssistantSetPageSideImage(object, page, pixbuf = NULL)
gtkAssistantGetPageSideImage(object, page)
gtkAssistantSetPageComplete(object, page, complete)
gtkAssistantGetPageComplete(object, page)
gtkAssistantAddActionWidget(object, child)
gtkAssistantRemoveActionWidget(object, child)
gtkAssistantUpdateButtonsState(object)
gtkAssistant(show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkAssistant
GtkAssistant implements
GtkBuildable
and AtkImplementorIface.
A GtkAssistant
is a widget used to represent a generally complex
operation splitted in several steps, guiding the user through its pages
and controlling the page flow to collect the necessary data.
GtkAssistant
gtkAssistant
is the equivalent of gtkAssistantNew
.
GtkAssistantPageType
GtkAssistant
. It's used to
handle buttons sensitivity and visibility.
Note that an assistant needs to end its page flow with a page of type GTK_ASSISTANT_PAGE_CONFIRM or GTK_ASSISTANT_PAGE_SUMMARY to be correct.
content
intro
confirm
summary
progress
GtkAssistantPageFunc(current.page, data)
gtkAssistantSetForwardPageFunc
to know which
is the next page given a current one. It's called both for computing the
next page when the user presses the "forward" button and for handling
the behavior of the "last" button.
current.page
data
Returns: [integer] The next page number.
The (assistant, user.data)
GtkAssistant
is to switch to the page after the current page,
unless the current page is the last one.
A handler for the ::apply signal should carry out the actions for which the wizard has collected data. If the action takes a long time to complete, you might consider to put a page of type GTK_ASSISTANT_PAGE_PROGRESS after the confirmation page and handle this operation within the ::prepare signal of the progress page.
Since 2.10
assistant
GtkAssistant
] the GtkAssistant
user.data
The (assistant, user.data)
Since 2.10
assistant
GtkAssistant
] the GtkAssistant
user.data
The (assistant, user.data)
Since 2.10
assistant
GtkAssistant
] the GtkAssistant
user.data
The (assistant, page, user.data)
page
.
Since 2.10
assistant
GtkAssistant
] the GtkAssistant
page
GtkWidget
] the current pageuser.data
content-padding
[integer : Read]Number of pixels around the content pages. Allowed values: >= 0 Default value: 1
header-padding
[integer : Read]Number of pixels around the header. Allowed values: >= 0 Default value: 6
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkAssistant.html