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

Public Member Functions

void on_close (std::function< void()> &&fn)
 
bool hit_close () const
 
- 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 refresh (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_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 ()
 

Public Attributes

window window_handle_
 
std::unique_ptr
< paint::text_renderer
text_rd_
 
bool x_pointed_ { false }
 
::nana::mouse_action x_state_ { ::nana::mouse_action::normal }
 
facade< element::x_iconx_icon_
 
std::function< void()> close_fn_
 

Additional Inherited Members

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

Member Function Documentation

bool nana::place_parts::dockcaption_dtrigger::hit_close ( ) const
inline
void nana::place_parts::dockcaption_dtrigger::on_close ( std::function< void()> &&  fn)
inline

Member Data Documentation

std::function<void()> nana::place_parts::dockcaption_dtrigger::close_fn_
std::unique_ptr<paint::text_renderer> nana::place_parts::dockcaption_dtrigger::text_rd_
window nana::place_parts::dockcaption_dtrigger::window_handle_
facade<element::x_icon> nana::place_parts::dockcaption_dtrigger::x_icon_
bool nana::place_parts::dockcaption_dtrigger::x_pointed_ { false }
::nana::mouse_action nana::place_parts::dockcaption_dtrigger::x_state_ { ::nana::mouse_action::normal }