Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::menu::menu_drawer Class Reference
Inheritance diagram for nana::drawerbase::menu::menu_drawer:
nana::drawer_trigger

Public Types

using item_proxy = menu_item_type::item_proxy
 
- Public Types inherited from nana::drawer_trigger
using widget_reference = widget &
 
using graph_reference = paint::graphics &
 

Public Member Functions

 menu_drawer ()
 
void set_run (menu_builder &mbuilder, menu_type &menu, std::function< void()> &&menu_tree_destroyer)
 
menu_buildermbuilder ()
 
void attached (widget_reference widget, graph_reference graph)
 
void mouse_move (graph_reference graph, const arg_mouse &arg)
 
void mouse_leave (graph_reference graph, const arg_mouse &arg)
 
void mouse_down (graph_reference, const arg_mouse &)
 
void refresh (graph_reference graph)
 
std::size_t active () const
 
bool goto_next (bool forword)
 
bool track_mouse (const ::nana::point &pos)
 
menu_typedata () const
 
void set_sub_window (bool subw)
 
menu_typeget_sub (nana::point &pos, unsigned long &tmstamp) const
 
int send_shortkey (wchar_t key)
 
- Public Member Functions inherited from nana::drawer_trigger
 drawer_trigger ()=default
 
virtual ~drawer_trigger ()=default
 
virtual void detached ()
 
virtual void typeface_changed (graph_reference)
 
virtual void resizing (graph_reference, const arg_resizing &)
 
virtual void resized (graph_reference, const arg_resized &)
 
virtual void move (graph_reference, const arg_move &)
 
virtual void click (graph_reference, const arg_click &)
 
virtual void dbl_click (graph_reference, const arg_mouse &)
 
virtual void mouse_enter (graph_reference, const arg_mouse &)
 
virtual void mouse_up (graph_reference, const arg_mouse &)
 
virtual void mouse_wheel (graph_reference, const arg_wheel &)
 
virtual void mouse_dropfiles (graph_reference, const arg_dropfiles &)
 
virtual void focus (graph_reference, const arg_focus &)
 
virtual void key_ime (graph_reference, const arg_ime &)
 
virtual void key_press (graph_reference, const arg_keyboard &)
 
virtual void key_char (graph_reference, const arg_keyboard &)
 
virtual void key_release (graph_reference, const arg_keyboard &)
 
virtual void shortkey (graph_reference, const arg_keyboard &)
 
void filter_event (const event_code evt_code, const bool bDisabled)
 
void filter_event (const std::vector< event_code > &evt_codes, const bool bDisabled)
 
void filter_event (const event_filter_status &evt_all_states)
 
bool filter_event (const event_code evt_code)
 
event_filter_status filter_event ()
 
void clear_filter ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

nana::drawerbase::menu::menu_drawer::menu_drawer ( )
inline

Member Function Documentation

std::size_t nana::drawerbase::menu::menu_drawer::active ( ) const
inline
void nana::drawerbase::menu::menu_drawer::attached ( widget_reference  widget,
graph_reference  graph 
)
inlinevirtual

Reimplemented from nana::drawer_trigger.

menu_type* nana::drawerbase::menu::menu_drawer::data ( ) const
inline
menu_type* nana::drawerbase::menu::menu_drawer::get_sub ( nana::point pos,
unsigned long &  tmstamp 
) const
inline
bool nana::drawerbase::menu::menu_drawer::goto_next ( bool  forword)
inline
menu_builder& nana::drawerbase::menu::menu_drawer::mbuilder ( )
inline
void nana::drawerbase::menu::menu_drawer::mouse_down ( graph_reference  ,
const arg_mouse  
)
inlinevirtual

Reimplemented from nana::drawer_trigger.

void nana::drawerbase::menu::menu_drawer::mouse_leave ( graph_reference  graph,
const arg_mouse arg 
)
inlinevirtual

Reimplemented from nana::drawer_trigger.

void nana::drawerbase::menu::menu_drawer::mouse_move ( graph_reference  graph,
const arg_mouse arg 
)
inlinevirtual

Reimplemented from nana::drawer_trigger.

void nana::drawerbase::menu::menu_drawer::refresh ( graph_reference  graph)
inlinevirtual

Reimplemented from nana::drawer_trigger.

int nana::drawerbase::menu::menu_drawer::send_shortkey ( wchar_t  key)
inline
void nana::drawerbase::menu::menu_drawer::set_run ( menu_builder mbuilder,
menu_type menu,
std::function< void()> &&  menu_tree_destroyer 
)
inline
void nana::drawerbase::menu::menu_drawer::set_sub_window ( bool  subw)
inline
bool nana::drawerbase::menu::menu_drawer::track_mouse ( const ::nana::point pos)
inline