Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
GuiMenuItem Class Reference
Inheritance diagram for GuiMenuItem:
CoreCustomData CoreBaseObject CoreBaseType

Public Member Functions

 GuiMenuItem (const CoreString &name)
 
 GuiMenuItem (GuiMenu &menu, const CoreString &name)
 
 GuiMenuItem (GuiMenu &parent, GuiMenu *submenu, const CoreString &name, bool own_submenu=false)
 
 GuiMenuItem (GuiAction &action, const CoreString &label="")
 
const CoreStringget_name () const
 
void set_name (const CoreString &name)
 
const bool & is_separator () const
 
GuiMenuget_menu () const
 
bool is_sub_menu () const
 
GuiActionget_action () const
 
bool is_action () const
 
bool is_item () const
 
const bool & is_clickable_menu () const
 
const bool & is_clickable () const
 
const CoreStringget_shortcut () const
 
void set_shortcut (const CoreString &shortcut)
 
void set_icon (const GuiImage *icon)
 
void set_icon (const GuiIcon *icon)
 
void set_icons (const CoreVector< const GuiImage * > &icons)
 
void set_icons (const CoreVector< const GuiIcon * > &icons)
 
void remove_icons ()
 
const GuiImageget_icon () const
 
const CoreVector< const
GuiImage * > & 
get_icons () const
 
void set_bold (const bool &bold)
 
const bool & is_bold () const
 
void set_faded (const bool &faded)
 
const bool & is_faded () const
 
void set_italic (const bool &italic)
 
const bool & is_italic () const
 
void set_strikeout (const bool &strikeout)
 
const bool & is_strikeout () const
 
void set_checkable (const bool &flag)
 
bool get_checkable () const
 
void check (const bool &flag)
 
bool is_checked () const
 
void set_radio_group (GuiMenuRadioGroup *group)
 
GuiMenuRadioGroupget_radio_group () const
 
void disable ()
 
void enable ()
 
void set_enable (const bool &_enable)
 
bool is_disabled () const
 
bool is_enabled () const
 
void set_data (void *data)
 
void * get_data () const
 
void set_is_clickable_menu (const bool &value)
 
void set_is_clickable (const bool &value)
 
void set_doc (const CoreString doc)
 
CoreString get_doc ()
 
- Public Member Functions inherited from CoreCustomData
 CoreCustomData (const CoreCustomData &src)
 
void add_custom_data (void *key, const bool &data)
 
void add_custom_data (void *key, const int &data)
 
void add_custom_data (void *key, const unsigned int &data)
 
void add_custom_data (void *key, const char *data)
 
void add_custom_data (void *key, const CoreString &data)
 
void add_custom_data (void *key, const double &data)
 
void add_custom_data (void *key, void *data)
 
void remove_custom_data (void *key)
 
void remove_all_custom_data ()
 
void set_custom_data (void *key, const bool &data)
 
void set_custom_data (void *key, const int &data)
 
void set_custom_data (void *key, const unsigned int &data)
 
void set_custom_data (void *key, const double &data)
 
void set_custom_data (void *key, const char *data)
 
void set_custom_data (void *key, const CoreString &data)
 
void set_custom_data (void *key, void *data)
 
void get_custom_data (void *key, bool &data) const
 
void get_custom_data (void *key, int &data) const
 
void get_custom_data (void *key, unsigned int &data) const
 
void get_custom_data (void *key, double &data) const
 
void get_custom_data (void *key, CoreString &data) const
 
void get_custom_data (void *key, void *&data) const
 
virtual size_t get_memory_size () const override
 
- Public Member Functions inherited from CoreBaseObject
bool is_kindof (const CoreBaseObject &object) const
 
CoreString get_class_info_name () const
 
const unsigned long & get_class_info_id () const
 
virtual bool is_kindof (const CoreClassInfo &cinfo) const
 
virtual const CoreClassInfoget_class_info () const
 
template<class T >
T * cast ()
 
template<class T >
const T * cast () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreCustomData
static void * get_custom_data_key (const CoreString &key)