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 Control as a child of this panel.

Calling this method is the same as initialsing a Control with this panel instance as parent parameter. Therefore the same parameters are passed. See Control for a detailed description of the paramters.

Returns

The newly created or accessed Control instance.

Return type

Control

dropdown(*args, **kwargs)

Creates a Dropdown as a child of this panel.

Calling this method is the same as initialsing a Dropdown with this panel instance as parent parameter. Therefore the same parameters are passed. See Dropdown for a detailed description of the paramters.

Returns

The newly created or accessed Dropdown instance.

Return type

Dropdown

Summary

Methods

control(*args, **kwargs)

Creates a Control as a child of this panel.

dropdown(*args, **kwargs)

Creates a Dropdown as a child of this panel.

Attributes

addin

The addin instance which manages this instance.

parent

The parent wrapper-instance of this wrapper-instance.

uiLevel

The level this instance is in the user interface hierachy.