Creates a new gtk.assistant.Assistant.
Adds a widget to the action area of a gtk.assistant.Assistant.
Appends a page to the assistant.
Erases the visited page history.
Connect to Apply signal.
Connect to Cancel signal.
Connect to Close signal.
Connect to Escape signal.
Connect to Prepare signal.
Returns the page number of the current page.
Returns the number of pages in the assistant
Returns the child widget contained in page number page_num.
Returns the gtk.assistant_page.AssistantPage object for child.
Gets whether page is complete.
Gets the title for page.
Gets the page type of page.
Gets a list model of the assistant pages.
Inserts a page in the assistant at a given position.
Navigate to the next page.
Prepends a page to the assistant.
Navigate to the previous visited page.
Removes a widget from the action area of a gtk.assistant.Assistant.
Removes the page_num’s page from assistant.
Switches the page to page_num.
Sets the page forwarding function to be page_func.
Sets whether page contents are complete.
Sets a title for page.
Sets the page type for page.
Forces assistant to recompute the buttons state.
Returns the fallback icon name for windows.
Returns a list of all existing toplevel windows.
Returns a list of all existing toplevel windows.
Sets whether the window should request startup notification.
Sets an icon to be used as fallback.
Opens or closes the interactive debugger.
Requests that the window is closed.
Drop the internal reference GTK holds on toplevel windows.
Asks to place window in the fullscreen state.
Asks to place window in the fullscreen state on the given monitor.
Gets the gtk.application.Application associated with the window.
Gets the child widget of window.
Returns whether the window has been set to have decorations.
Gets the default size of the window.
Returns the default widget for window.
Returns whether the window has been set to have a close button.
Returns whether the window will be destroyed with its transient parent.
Retrieves the current focused widget within the window.
Gets whether “focus rectangles” are supposed to be visible.
Returns the group for window.
Returns whether this window reacts to F10 key presses by activating a menubar it contains.
Returns whether the window will be hidden when the close button is clicked.
Returns the name of the themed icon for the window.
Gets whether mnemonics are supposed to be visible.
Returns whether the window is modal.
Gets the value set by gtk.window.Window.setResizable.
Retrieves the title of the window.
Returns the custom titlebar that has been set with gtk.window.Window.setTitlebar.
Fetches the transient parent for this window.
Returns whether window has an explicit window group.
Returns whether the window is part of the current active toplevel.
Retrieves the current fullscreen state of window.
Retrieves the current maximized state of window.
Retrieves the current suspended state of window.
Asks to maximize window, so that it fills the screen.
Asks to minimize the specified window.
Presents a window to the user.
Presents a window to the user in response to an user interaction.
Sets or unsets the gtk.application.Application associated with the window.
Sets the child widget of window.
Sets whether the window should be decorated.
Sets the default size of a window.
Sets the default widget.
Sets whether the window should be deletable.
If setting is true, then destroying the transient parent of window will also destroy window itself.
Sets the gdk.display.Display where the window is displayed.
Sets the focus widget.
Sets whether “focus rectangles” are supposed to be visible.
Sets whether this window should react to F10 key presses by activating a menubar it contains.
If setting is true, then clicking the close button on the window will not destroy it, but only hide it.
Sets the icon for the window from a named themed icon.
Sets whether mnemonics are supposed to be visible.
Sets a window modal or non-modal.
Sets whether the user can resize a window.
Sets the startup notification ID.
Sets the title of the gtk.window.Window.
Sets a custom titlebar for window.
Dialog windows should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. gtk.dialog.Dialog.newWithButtons and other convenience functions in GTK will sometimes call gtk.window.Window.setTransientFor on your behalf.
Asks to remove the fullscreen state for window, and return to its previous state.
Asks to unmaximize window.
Asks to unminimize the specified window.
Connect to ActivateDefault signal.
Connect to ActivateFocus signal.
Connect to CloseRequest signal.
Connect to EnableDebugging signal.
Connect to KeysChanged signal.
Deprecated: This widget will be removed in GTK 5
gtk.assistant.Assistant is used to represent a complex as a series of steps.
Each step consists of one or more pages. gtk.assistant.Assistant guides the user through the pages, and controls the page flow to collect the data needed for the operation.
gtk.assistant.Assistant handles which buttons to show and to make sensitive based on page sequence knowledge and the gtk.types.AssistantPageType of each page in addition to state information like the *completed* and *committed* page statuses.
If you have a case that doesn’t quite fit in gtk.assistant.Assistants way of handling buttons, you can use the gtk.types.AssistantPageType.Custom page type and handle buttons yourself.
gtk.assistant.Assistant maintains a gtk.assistant_page.AssistantPage object for each added child, which holds additional per-child properties. You obtain the gtk.assistant_page.AssistantPage for a child with gtk.assistant.Assistant.getPage.
GtkAssistant as GtkBuildable
The gtk.assistant.Assistant implementation of the gtk.buildable.Buildable interface exposes the @action_area as internal children with the name “action_area”.
To add pages to an assistant in gtk.builder.Builder, simply add it as a child to the gtk.assistant.Assistant object. If you need to set per-object properties, create a gtk.assistant_page.AssistantPage object explicitly, and set the child widget as a property on it.
CSS nodes
gtk.assistant.Assistant has a single CSS node with the name window and style class .assistant.