Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCMenuItem.html below:
NCBI C++ ToolKit: CMenuItem Class Reference
Public Member Functions CMenuItem () creates a separator item More...
CMenuItem (const string &label, const string &image_alias="") creates a submenu item More...
CMenuItem (const string &label, TCmdID cmd, const string &image_alias="", const string &tooltip="", int state=eDefault) creates a command item More...
CMenuItem (EType type, const string &label="", TCmdID cmd=eCmdNone, const string &image_alias="", const string &tooltip="", int state=eDefault) generic constructor, can be used to create any type of menuitem More...
CMenuItem (const CMenuItem &item) copy contsructor - copies attributes but not subitems More...
virtual ~CMenuItem () void Init (EType type, const string &label="", TCmdID cmd=eCmdNone, const string &image_alias="", const string &tooltip="", int state=eDefault) void InitPopup (const string &label, const string &image_alias="", const string &tooltip="") void InitItem (const string &label, TCmdID cmd, const string &image_alias="", const string &tooltip="", int state=eDefault) void InitSeparator () bool Equal (const CMenuItem &item) const CMenuItem * Clone () const clones item and its subitems More...
EType GetType () const void SetType (EType type) bool IsItem () const bool IsSubmenu () const bool IsSeparator () const const string & GetLabel () const void SetLabel (const string &label) const TCmdID & GetCommand () const void SetCommand (TCmdID cmd) bool HasImage () const const string & GetImageAlias () const void SetImageAlias (const string &image_alias) const string & GetTooltip () const void SetTooltip (const string &tooltip) int GetState () const void SetState (int state) bool IsEnabled () const void Enable (bool b_en) bool IsCheckType () const bool IsChecked () const void SetCheck (bool b_set) bool IsRadioType () const bool IsRadioSelected () const void SelectRadio (bool b_set) bool IsValid () const bool IsEnabledItem () const bool IsEnabledSubmenu () const void Merge (const CMenuItem &item) merges menu tree represented by "item" into menu tree represented by "this" More...
Operations with submenus
CMenuItem * GetParent () const CMenuItem * GetParent () const CMenuItem * AddSubItem (CMenuItem *item) CMenuItem * AddSeparator () Adds Separator. More...
CMenuItem * AddSeparator (const string &label) CMenuItem * AddSubMenu (const string &Label, const string &image_alias="") it is recommended that labels start with '-' More...
CMenuItem * AddSubItem (const string &label, TCmdID cmd, const string &image_alias="", const string &tooltip="", int state=eDefault) Adds command subitem. More...
CMenuItem * InsertSubItem (TChildItem_I it, CMenuItem *item) void RemoveItem (TChildItem_I it) void DestroyAllSubNodes () bool IsSubmenuEmpty () TChildItem_I SubItemsBegin () TChildItem_I SubItemsEnd () TChildItem_CI SubItemsBegin () const TChildItem_CI SubItemsEnd () const CMenuItem * FindEqualSubItem (const CMenuItem &item) const CMenuItem * FindEqualSubItem (const CMenuItem &item) const TChildItem_I FindSubItem (const CMenuItem &item) TChildItem_CI FindSubItem (const CMenuItem &item) const TChildItem_I FindSubItem (const string &label) TChildItem_CI FindSubItem (const string &label) const TChildItem_I FindSubItem (EType type, const string &label) TChildItem_CI FindSubItem (EType type, const string &label) const
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4