fusion_addin_framework.Panel¶
- class fusion_addin_framework.Panel(parent: Optional[fusion_addin_framework.wrapper.Tab] = None, id: str = 'default', name: str = 'random', positionID: str = '', isBefore: bool = True)¶
Wraps around the Panel 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 Panel is provided, all parameters except parent and id will be ignored.
- Parameters
parent (Tab, optional) – The parent tab which contains this panel. Defaults to a panel with the default parameters.
name (str, optional) – The name of the tab as seen in the user interface. Defaults to a random name.
positionID (str, optional) – Specifies the id of the panel to position this panel relative to. Not setting this value indicates that the panel will be created at the end of all other panels. The isBefore parameter specifies whether to place the panel before or after this panel. Defaults to “”.
isBefore (bool, optional) – Specifies whether to place the panel before or after the panel specified by the positionID argument. This argument is ignored is positionID is not specified. Defaults to True.
- control(*args, **kwargs)¶
Creates a
Controlas a child of this panel.Calling this method is the same as initialsing a
Controlwith this panel instance as parent parameter. Therefore the same parameters are passed. SeeControlfor a detailed description of the paramters.- Returns
The newly created or accessed Control instance.
- Return type
- dropdown(*args, **kwargs)¶
Creates a
Dropdownas a child of this panel.Calling this method is the same as initialsing a
Dropdownwith this panel instance as parent parameter. Therefore the same parameters are passed. SeeDropdownfor a detailed description of the paramters.- Returns
The newly created or accessed Dropdown instance.
- Return type
Summary¶
Methods
|
Creates a |
|
Creates a |
Attributes
|
The addin instance which manages this instance. |
|
The parent wrapper-instance of this wrapper-instance. |
|
The level this instance is in the user interface hierachy. |