ToolbarCollection#
- class ansys.stk.core.uicore.ToolbarCollection#
Provide methods and properties to manage the toolbars.
Overview#
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. |
|
Return a toolbar object with the specified toolbar identifier. The identifier is a unique number assigned to a toolbar object. |
|
Retrieve a toolbar object. |
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.get_item_by_index(self, index: int) Toolbar #
Retrieve a toolbar object based on the index in the collection.
- Parameters:
index :
int
- Returns:
Toolbar
- ToolbarCollection.get_item_by_name(self, name: str) Toolbar #
Retrieve a toolbar object based on the name of the Toolbar in the collection.
- Parameters:
name :
str
- Returns:
Toolbar