Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::menubar::trigger::essence Struct Reference

Classes

struct  state_type
 

Public Types

enum  behavior { behavior::none, behavior::focus, behavior::menu }
 

Public Member Functions

 ~essence ()
 
nana::menupush_back (const std::string &text)
 
bool cancel ()
 
bool open_menu (bool activate_menu=false)
 
bool close_menu ()
 
std::size_t find (wchar_t shortkey) const
 
std::size_t find (const ::nana::point &pos)
 

Public Attributes

widgetwidget_ptr { nullptr }
 
std::vector< item_type * > items
 
struct
nana::drawerbase::menubar::trigger::essence::state_type 
state
 

Member Enumeration Documentation

Enumerator
none 
focus 
menu 

Constructor & Destructor Documentation

nana::drawerbase::menubar::trigger::essence::~essence ( )
inline

Member Function Documentation

bool nana::drawerbase::menubar::trigger::essence::cancel ( )
inline
bool nana::drawerbase::menubar::trigger::essence::close_menu ( )
inline
std::size_t nana::drawerbase::menubar::trigger::essence::find ( wchar_t  shortkey) const
inline
std::size_t nana::drawerbase::menubar::trigger::essence::find ( const ::nana::point pos)
inline
bool nana::drawerbase::menubar::trigger::essence::open_menu ( bool  activate_menu = false)
inline
nana::menu& nana::drawerbase::menubar::trigger::essence::push_back ( const std::string text)
inline

Member Data Documentation

std::vector<item_type*> nana::drawerbase::menubar::trigger::essence::items
struct nana::drawerbase::menubar::trigger::essence::state_type nana::drawerbase::menubar::trigger::essence::state
widget* nana::drawerbase::menubar::trigger::essence::widget_ptr { nullptr }