ToolbarCollection#
- class ansys.stk.core.uicore.ToolbarCollection#
Provide methods and properties to manage the toolbars.
Overview#
Retrieve a toolbar object. |
|
Return a toolbar object with the specified toolbar identifier. The identifier is a unique number assigned to a toolbar object. |
|
Retrieve a toolbar object based on the index in the collection. |
|
Retrieve a toolbar object based on the name of the Toolbar in the collection. |
Import detail#
from ansys.stk.core.uicore import ToolbarCollection
Property detail#
- property ToolbarCollection._new_enum: EnumeratorProxy#
Enumerates the toolbars in the collection.
Method detail#
- ToolbarCollection.item(self, index_or_caption: Any) Toolbar #
Retrieve a toolbar object.
- Parameters:
index_or_caption :
Any
- Returns:
Toolbar
- ToolbarCollection.get_toolbar_by_id(self, id: int) Toolbar #
Return a toolbar object with the specified toolbar identifier. The identifier is a unique number assigned to a toolbar object.
- Parameters:
id :
int
- Returns:
Toolbar