Rogue Wave Views Studio Package API Reference Guide |
Rogue Wave Views Documentation Home |
Editing mode class. More...
#include <ivstudio/mode.h>
Public Member Functions | |
void | add (IlvStMode *mode) |
Adds a new editing mode. More... | |
IlvStMode * | get (const char *name) const |
Returns an editing mode from its name. More... | |
IlvStMode * | getCurrent () const |
Returns the current editing mode. More... | |
void | setCurrent (IlvStMode *mode) |
Sets the current editing mode. More... | |
void | setCurrent (const char *name) |
Sets the current editing mode. More... | |
Editing mode class.
Library: ivstudio
Rogue Wave Views Studio has an instance of the IlvStModes
class to manage the editing modes.
void IlvStModes::add | ( | IlvStMode * | mode | ) |
Adds a new editing mode.
Adds the new editing mode to the list of modes.
mode | The new editing mode. |
IlvStMode* IlvStModes::get | ( | const char * | name | ) | const |
Returns an editing mode from its name.
name | The name of the editing mode. |
IlvStMode* IlvStModes::getCurrent | ( | ) | const |
Returns the current editing mode.
void IlvStModes::setCurrent | ( | IlvStMode * | mode | ) |
Sets the current editing mode.
mode | The new current editing mode. |
void IlvStModes::setCurrent | ( | const char * | name | ) |
Sets the current editing mode.
name | The name of the new current editing mode. |
© Copyright 2017, 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.