ApplicationStage
- class ApplicationStage
-
- show()
Show the stage in the application.
- list_toolbars()
List Toolbars of the stage.
- find_toolbar(name)
Find a Toolbar by name.
- Parameters
name (str) -- Toolbar name to find.
- Returns
The Toolbar found or
Noneif not found.- Return type
- Raises
NotFoundError -- If
nameis not matching with any Toolbar of the stage.
- find_action(name)
Find an button by name.
- Parameters
name (str) -- Button name to find.
- Returns
The button found or
Noneif not found.- Return type
- Raises
NotFoundError -- If
nameis not matching with any button of the stage.
- clean_toolbar(location, force=False)
Empty stage toolbar by removing spacer and hiding toolbars
Note
By default, the workspace wait for
updatemethod call to be executed, useforceto force the update of the app's toolbar.