#include <popupmenu_item.h>
Public Member Functions | |
Construction | |
| CL_PopupMenuItem () | |
| CL_PopupMenuItem (int id) | |
| Constructs a PopupMenuItem. | |
| CL_PopupMenuItem (const CL_SharedPtr< CL_PopupMenuItem_Impl > &impl) | |
| Constructs a PopupMenuItem. | |
| virtual | ~CL_PopupMenuItem () |
Attributes | |
| CL_StringRef | get_text () const |
| Get Text. | |
| CL_StringRef | get_accelerator_text () const |
| Get Accelerator text. | |
| int | get_id () const |
| Get Id. | |
| bool | is_null () const |
| Is Null. | |
| bool | has_submenu () const |
| Has submenu. | |
| bool | is_disabled () const |
| Is Disabled. | |
| bool | is_separator () const |
| Is Separator. | |
| CL_PopupMenu | get_submenu () |
| Get Submenu. | |
| bool | is_checkable () const |
| Is Checkable. | |
| bool | is_checked () const |
| Is Checked. | |
| CL_PixelBuffer | get_icon () const |
| Get Icon. | |
Events | |
| CL_Callback_v0 & | func_clicked () |
| Func clicked. | |
Operations | |
| void | set_id (int id) |
| Set id. | |
| void | set_text (const CL_StringRef &text) |
| Set text. | |
| void | set_icon (const CL_PixelBuffer &image) |
| Set icon. | |
| void | set_submenu (CL_PopupMenu &submenu) |
| Set submenu. | |
| void | set_enabled (bool enabled) |
| Set enabled. | |
| void | set_separator (bool separator) |
| Set separator. | |
| void | set_accelerator_text (const CL_StringRef &str) |
| Set accelerator text. | |
| void | set_checkable (bool checkable) |
| Set checkable. | |
| void | set_checked (bool checked) |
| Set checked. | |
|
|
|
|
|
Constructs a PopupMenuItem.
|
|
|
Constructs a PopupMenuItem.
|
|
|
|
|
|
Func clicked.
|
|
|
Get Accelerator text.
|
|
|
Get Icon.
|
|
|
Get Id.
|
|
|
Get Submenu.
|
|
|
Get Text.
|
|
|
Has submenu.
|
|
|
Is Checkable.
|
|
|
Is Checked.
|
|
|
Is Disabled.
|
|
|
Is Null.
|
|
|
Is Separator.
|
|
|
Set accelerator text.
|
|
|
Set checkable.
|
|
|
Set checked.
|
|
|
Set enabled.
|
|
|
Set icon.
|
|
|
Set id.
|
|
|
Set separator.
|
|
|
Set submenu.
|
|
|
Set text.
|
1.4.6