![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
MenuItem component
Contained in: global
Derived from:
CL_Component
Derived by:
none
Group: GUI (Controls)
#include <ClanLib/gui.h>
public function member index: |
||
Construction: |
||
CL_MenuItem | (const CL_ComponentOptions& options, CL_Component* parent, CL_StyleManager* style = NULL); | |
CL_MenuItem | (CL_Component* parent, CL_StyleManager* style = NULL); | |
CL_MenuItem | (const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL); | |
CL_MenuItem | (const std::string& text, bool checked, CL_Component* parent, CL_StyleManager* style = NULL); | |
virtual | ~CL_MenuItem | (); |
Attributes: |
||
bool | is_checkable | () const; |
bool | is_separator | () const; |
bool | is_checked | () const; |
bool | is_highlighted | () const; |
bool | has_submenu | () const; |
const std::string& | get_text | () const; |
Operations: |
||
void | set_text | (const std::string& text); |
Signals: |
||
CL_Signal_v0& | sig_clicked | (); |
private function member index: |
||
Implementation: |
||
void | init | (const CL_ComponentOptions& options); |
CL_MenuItem | (const CL_MenuItem& copy); | |
Returns - The item label.
text - The item label.