Public Member Functions | |
void | addProfile (in AString name) |
Add new profile. | |
void | removeProfile (in AString name) |
Remove profile. | |
void | addButton (in AString profileName, in AString buttonId, in AString buttonText) |
Add button. | |
void | addSeparator (in AString profileName) |
Add separator. | |
Public Attributes | |
attribute AString | activeProfile |
Active profile. |
Context bar contains context sensitive icons. Icons are organized in the profiles. Each profile has to have unique name. Profiles can be managed using addProfile, removeProfile.
Active profile is set in the variable activeProfile. It is possible to change active profile setting this variable to the name of the profile.
Profile contains list of buttons. New button can be add using addButton or addSeparator.
void addButton | ( | in AString | profileName, | |
in AString | buttonId, | |||
in AString | buttonText | |||
) |
Add button.
Add new button to the existing profile.
profileName | Name of the profile | |
buttonId | Button id. | |
buttonText | Button text. |
void addProfile | ( | in AString | name | ) |
Add new profile.
Each profile has to have unique name.
name | Profile name |
void addSeparator | ( | in AString | profileName | ) |
Add separator.
Add new separator to the profile.
profileName | Name of the profile. |
void removeProfile | ( | in AString | name | ) |
Remove profile.
Remove existing profile.
name | Profile name |
attribute AString activeProfile |
Active profile.
Setting this variable to the new value will change active profile.