fusion_addin_framework.Tab¶
- class fusion_addin_framework.Tab(parent: Optional[fusion_addin_framework.wrapper.Workspace] = None, id: str = 'default', name: str = 'random')¶
Wraps around Fusions Tab object. Besides the documented attributes and methods on this page all attributes and methods of the wrapped class can be accessed with the same attribute and method names as in the wrapped class.
If an Id of an existing Tab is provided, all parameters except parent and id will be ignored.
- Parameters
parent (Workspace, optional) – The parent workspace which contains this tab. Defaults to a Workspace with the default parameters.
id (str, optional) – The id of the Tab. Defaults to “ToolsTab” in DesignWorkspace, to “UtilitiesTab” in CAMWorkspace and “RenderTab” in RenderWorkspace.
name (str, optional) – The name of the tab as seen in the user interface. Defaults to a random name.
- panel(*args, **kwargs)¶
Creates a
Panelas a child of this tab.Calling this method is the same as initialsing a
Panelwith this tab instance as parent parameters. Therefore the same parameters are passed. SeePanelfor a detailed description of the paramters.- Returns
The newly created or accessed panel instance.
- Return type