| Views Application Framework Package API Reference Guide |
Views Documentation Home |
Application Framework bar set class. More...
#include <ilviews/appframe/dockcfg.h>
Public Member Functions | |
| IlvDvBarSet () | |
Constructs an IlvDvBarSet object. More... | |
| void | addToolBar (const char *name, IlvToolBar *bar) |
| Adds a toolbar to the set. More... | |
| IlUInt | getBarsCount () const |
| Gets the number of toolbars stored in the set. More... | |
| IlUInt | getIndex (const IlvToolBar *bar) const |
| Gets the storage index in the set of the bar given as the parameter. More... | |
| IlvPane * | getPane (IlUInt index) const |
| Gets the pane at a given index. More... | |
| IlvToolBar * | getToolBar (IlUInt index) const |
| Gets a toolbar. More... | |
| IlvToolBar * | getToolBarByName (const char *name) const |
| Retrieves from the set the toolbar whose name is given by the parameter name. More... | |
| IlvPane * | removeBar (const IlvToolBar *bar) |
| Removes a toolbar from the set. More... | |
Application Framework bar set class.
Library: ilvappframe
The IlvDvBarSet class handles a set of bars. It is used by the document templates to store their toolbars and give them to the main window for docking.
| IlvDvBarSet::IlvDvBarSet | ( | ) |
Constructs an IlvDvBarSet object.
This constructor initializes a new IlvDvBarSet instance.
| void IlvDvBarSet::addToolBar | ( | const char * | name, |
| IlvToolBar * | bar | ||
| ) |
Adds a toolbar to the set.
Adds the toolbar with the parameter bar and the name name to the set.
| IlUInt IlvDvBarSet::getBarsCount | ( | ) | const |
Gets the number of toolbars stored in the set.
| IlUInt IlvDvBarSet::getIndex | ( | const IlvToolBar * | bar | ) | const |
Gets the storage index in the set of the bar given as the parameter.
Gets the pane at a given index.
Gets the pane of the main window that handles the toolbar stored at index index.
| IlvToolBar* IlvDvBarSet::getToolBar | ( | IlUInt | index | ) | const |
Gets a toolbar.
Gets the toolbar from the set stored at position index.
| IlvToolBar* IlvDvBarSet::getToolBarByName | ( | const char * | name | ) | const |
Retrieves from the set the toolbar whose name is given by the parameter name.
| IlvPane* IlvDvBarSet::removeBar | ( | const IlvToolBar * | bar | ) |
Removes a toolbar from the set.
Removes the toolbar with parameter bar from the set.