Methods | |
| void | clear () |
| DzToolBarItem | getItem (Number which) |
| Array | getItemList () |
| Number | getNumItems () |
| Boolean | hasItems () |
| void | insertAction (String action, Number where=-1) |
| void | insertCustomAction (String action, Number where=-1) |
| void | insertSeparator (Number where=-1) |
Signals | |
| void | itemListChanged () |
Signature: "itemListChanged()" | |
| void DzToolBar::clear | ( | ) |
Removes all items from the bar.
| DzToolBarItem DzToolBar::getItem | ( | Number | which | ) |
| which | The index of the item in the menu |
| Array DzToolBar::getItemList | ( | ) |
This function is provided for DAZ Script access. Plugin developers are encouraged to use the much more efficient itemListIterator() method.
| Number DzToolBar::getNumItems | ( | ) |
| Boolean DzToolBar::hasItems | ( | ) |
Adds the given action to the tool bar.
| action | The class name of the DzAction that will be added to the tool bar. | |
| where | The index at which to insert the item, if the index is invalid (the default) the item is appended to the end of the menu. |
Adds the given custom action to the tool bar.
| action | The name of the custom action that will be added to the tool bar. | |
| where | The index at which to insert the item, if the index is invalid (the default) the item is appended to the end of the menu. |
| void DzToolBar::insertSeparator | ( | Number | where = -1 |
) |
Adds a separator to the tool bar.
| where | The index at which to insert the item, if the index is invalid (the default) the item is appended to the end of the menu. |
| void DzToolBar::itemListChanged | ( | ) | [signal] |
Signature: "itemListChanged()"
Emitted when items are added to or removed from this toolbar