HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DT_NodeMenuItem Class Reference

#include <DT_Plugin.h>

+ Inheritance diagram for DT_NodeMenuItem:

Public Types

enum  Flags {
  MI_None = 0x00, MI_Disabled = 0x01, MI_ToggleUnchecked = 0x02, MI_ToggleChecked = 0x06,
  MI_HasSubMenu = 0x08
}
 

Public Member Functions

 DT_NodeMenuItem (const UT_StringHolder &token, const UT_StringHolder &label, const UT_StringHolder &hotkey_base=UT_StringHolder(), Flags flags=MI_None)
 
const UT_StringHolderhotkey () const
 
bool enabled () const
 
bool isToggle () const
 
bool toggledOn () const
 
bool hasSubmenu () const
 
- Public Member Functions inherited from DT_MenuItem
 DT_MenuItem (const UT_StringHolder &token, const UT_StringHolder &label)
 
const UT_StringHoldertoken () const
 
const UT_StringHolderlabel () const
 
bool operator== (const DT_MenuItem &other) const
 

Additional Inherited Members

- Static Public Member Functions inherited from DT_MenuItem
static int compare (const DT_MenuItem *m1, const DT_MenuItem *m2)
 

Detailed Description

Definition at line 76 of file DT_Plugin.h.

Member Enumeration Documentation

Enumerator
MI_None 
MI_Disabled 
MI_ToggleUnchecked 
MI_ToggleChecked 
MI_HasSubMenu 

Definition at line 80 of file DT_Plugin.h.

Constructor & Destructor Documentation

DT_NodeMenuItem::DT_NodeMenuItem ( const UT_StringHolder token,
const UT_StringHolder label,
const UT_StringHolder hotkey_base = UT_StringHolder(),
Flags  flags = MI_None 
)

Member Function Documentation

bool DT_NodeMenuItem::enabled ( ) const
bool DT_NodeMenuItem::hasSubmenu ( ) const
const UT_StringHolder& DT_NodeMenuItem::hotkey ( ) const
bool DT_NodeMenuItem::isToggle ( ) const
bool DT_NodeMenuItem::toggledOn ( ) const

The documentation for this class was generated from the following file: