Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Application Framework bar set class. More...
#include <ilviews/appframe/dockcfg.h>
Public Member Functions | |
IlvDvBarSet () | |
Constructs an IlvDvBarSet object. | |
void | addToolBar (const char *name, IlvToolBar *bar) |
Adds a toolbar to the set. | |
IlUInt | getBarsCount () const |
Gets the number of toolbars stored in the set. | |
IlUInt | getIndex (const IlvToolBar *bar) const |
Gets the storage index in the set of the bar given as the parameter. | |
IlvPane * | getPane (IlUInt index) const |
Gets the pane at a given index. | |
IlvToolBar * | getToolBar (IlUInt index) const |
Gets a toolbar. | |
IlvToolBar * | getToolBarByName (const char *name) const |
Retrieves from the set the toolbar whose name is given by the parameter name. | |
IlvPane * | removeBar (const IlvToolBar *bar) |
Removes a toolbar from the set. |
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.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.