Interface for creating context menu entries.
More...
Interface for creating context menu entries.
Definition at line 44 of file menu_intf.h.
◆ GetEventHandler()
Get the current event handler.
- Returns
- The event handler associated with the item.
◆ GetStatusTip()
virtual const tChar* GetStatusTip |
( |
| ) |
const |
|
pure virtual |
Get the status bar tip of this menu item.
- Returns
- The status bar tip of the item.
◆ GetText()
virtual const tChar* GetText |
( |
| ) |
const |
|
pure virtual |
Get the text of this menu item.
- Returns
- The text of the item.
◆ GetToolTip()
virtual const tChar* GetToolTip |
( |
| ) |
const |
|
pure virtual |
Get the tool tip of this menu item.
- Returns
- The tool tip of the item.
◆ IsCheckable()
virtual tBool IsCheckable |
( |
| ) |
const |
|
pure virtual |
Query whether the item is checkable.
- Returns
- Boolean indicating whether item is checkable.
◆ IsChecked()
virtual tBool IsChecked |
( |
| ) |
const |
|
pure virtual |
Query whether the item is checked.
- Returns
- Boolean indicating whether item is checked.
◆ IsEnabled()
virtual tBool IsEnabled |
( |
| ) |
const |
|
pure virtual |
Query whether the item is enabled.
- Returns
- Boolean indicating whether item is enabled.
◆ IsSeparator()
virtual tBool IsSeparator |
( |
| ) |
const |
|
pure virtual |
Query whether the item is a separator.
- Returns
- Boolean indicating whether item is a seperator.
◆ IsVisible()
virtual tBool IsVisible |
( |
| ) |
const |
|
pure virtual |
Query whether the item is visible.
- Returns
- Boolean indicating whether item is visible.
◆ SetCheckable()
virtual tVoid SetCheckable |
( |
tBool |
bCheckable | ) |
|
|
pure virtual |
Mark this item as checkable.
- Parameters
-
bCheckable | [in] Indicator whether the item shall be checkable. |
◆ SetChecked()
virtual tVoid SetChecked |
( |
tBool |
bChecked | ) |
|
|
pure virtual |
Set chack state of this item.
- Parameters
-
bChecked | [in] Indicator whether the item shall be checked. |
◆ SetEnabled()
virtual tVoid SetEnabled |
( |
tBool |
bEnabled | ) |
|
|
pure virtual |
Set enabled state of this item.
- Parameters
-
bEnabled | [in] Indicator whether the item shall be enabled. |
◆ SetEventHandler()
Set an event handler.
This handler will be called when the item is selected.
- Parameters
-
pEvent | [in] The event handler to be set. |
◆ SetSeparator()
virtual tVoid SetSeparator |
( |
tBool |
bSeparator | ) |
|
|
pure virtual |
Mark this item as a separator.
- Parameters
-
bSeparator | [in] Indicator whether the item shall be a seperator. |
◆ SetStatusTip()
virtual tVoid SetStatusTip |
( |
const tChar * |
strStatusTip | ) |
|
|
pure virtual |
Set the status bar tip of this menu item.
- Parameters
-
strStatusTip | [in] The status bar tip to set. |
◆ SetText()
virtual tVoid SetText |
( |
const tChar * |
strText | ) |
|
|
pure virtual |
Set the text of this menu item.
- Parameters
-
strText | [in] The text to set. |
◆ SetToolTip()
virtual tVoid SetToolTip |
( |
const tChar * |
strToolTip | ) |
|
|
pure virtual |
Set the tool tip of this menu item.
- Parameters
-
strToolTip | [in] The tool tip to set. |
◆ SetVisible()
virtual tVoid SetVisible |
( |
tBool |
bVisible | ) |
|
|
pure virtual |
Set visibility of this item.
- Parameters
-
bVisible | [in] Indicator whether the item shall be visible. |