Popup menu item.
More...
#include <popupmenu_item.h>
List of all members.
Detailed Description
Popup menu item.
Constructor & Destructor Documentation
CL_PopupMenuItem::CL_PopupMenuItem |
( |
|
) |
|
Construct a null instance.
CL_PopupMenuItem::CL_PopupMenuItem |
( |
int |
id |
) |
|
Constructs a PopupMenuItem.
- Parameters:
-
CL_PopupMenuItem::CL_PopupMenuItem |
( |
const CL_SharedPtr< CL_PopupMenuItem_Impl > & |
impl |
) |
|
Constructs a PopupMenuItem.
- Parameters:
-
| CL_PopupMenuItem_Impl | = Shared Ptr |
virtual CL_PopupMenuItem::~CL_PopupMenuItem |
( |
|
) |
[virtual] |
Member Function Documentation
Func clicked.
- Returns:
- Callback_v0
CL_StringRef CL_PopupMenuItem::get_accelerator_text |
( |
|
) |
const |
Get Accelerator text.
- Returns:
- accelerator_text
int CL_PopupMenuItem::get_id |
( |
|
) |
const |
Get Submenu.
- Returns:
- submenu
bool CL_PopupMenuItem::has_submenu |
( |
|
) |
const |
Has submenu.
- Returns:
- bool
bool CL_PopupMenuItem::is_checkable |
( |
|
) |
const |
Is Checkable.
- Returns:
- true = checkable
bool CL_PopupMenuItem::is_checked |
( |
|
) |
const |
Is Checked.
- Returns:
- true = checked
bool CL_PopupMenuItem::is_disabled |
( |
|
) |
const |
Is Disabled.
- Returns:
- true = disabled
bool CL_PopupMenuItem::is_null |
( |
|
) |
const [inline] |
Returns true if this object is invalid.
bool CL_PopupMenuItem::is_separator |
( |
|
) |
const |
Is Separator.
- Returns:
- true = separator
void CL_PopupMenuItem::set_accelerator_text |
( |
const CL_StringRef & |
str |
) |
|
Set accelerator text.
- Parameters:
-
void CL_PopupMenuItem::set_checkable |
( |
bool |
checkable |
) |
|
Set checkable.
- Parameters:
-
void CL_PopupMenuItem::set_checked |
( |
bool |
checked |
) |
|
void CL_PopupMenuItem::set_enabled |
( |
bool |
enabled |
) |
|
void CL_PopupMenuItem::set_id |
( |
int |
id |
) |
|
void CL_PopupMenuItem::set_separator |
( |
bool |
separator |
) |
|
Set separator.
- Parameters:
-
void CL_PopupMenuItem::set_submenu |
( |
CL_PopupMenu & |
submenu |
) |
|
void CL_PopupMenuItem::set_text |
( |
const CL_StringRef & |
text |
) |
|
void CL_PopupMenuItem::throw_if_null |
( |
|
) |
const |
Throw an exception if this object is invalid.
The documentation for this class was generated from the following file: