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

Public Types

enum  kits { kits::add, kits::scroll, kits::list, kits::close }
 
using native_string_type = ::nana::detail::native_string_type
 
- Public Types inherited from nana::drawer_trigger
using widget_reference = widget &
 
using graph_reference = paint::graphics &
 

Public Member Functions

 trigger ()
 
 ~trigger ()
 
void activate (std::size_t)
 
std::size_t activated () const
 
nana::anyat (std::size_t) const
 
nana::anyat_no_bound_check (std::size_t) const
 
const pat::cloneable
< item_renderer > & 
ext_renderer () const
 
void ext_renderer (const pat::cloneable< item_renderer > &)
 
void set_event_agent (event_agent_interface *)
 
void insert (std::size_t, native_string_type &&, nana::any &&)
 
std::size_t length () const
 
bool close_fly (bool)
 
window attach (std::size_t, window, bool drop_other)
 
void erase (std::size_t)
 
void tab_color (std::size_t, bool is_bgcolor, const ::nana::color &)
 
void tab_image (size_t, const nana::paint::image &)
 
void text (std::size_t, const native_string_type &)
 
native_string_type text (std::size_t) const
 
bool toolbox (kits, bool)
 
- Public Member Functions inherited from nana::drawer_trigger
 drawer_trigger ()=default
 
virtual ~drawer_trigger ()=default
 
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_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

Member Enumeration Documentation

Enumerator
add 

The type identifies the add button of the tabbar's toolbox.

scroll 

The type identifies the scroll button of the tabbar's toolbox.

list 

The type identifies the list button of the tabbar's toolbox.

close 

The type identifies the close button of the tabbar's toolbox.

Constructor & Destructor Documentation

nana::drawerbase::tabbar::trigger::trigger ( )
nana::drawerbase::tabbar::trigger::~trigger ( )

Member Function Documentation

void nana::drawerbase::tabbar::trigger::activate ( std::size_t  pos)
std::size_t nana::drawerbase::tabbar::trigger::activated ( ) const
nana::any & nana::drawerbase::tabbar::trigger::at ( std::size_t  i) const
nana::any & nana::drawerbase::tabbar::trigger::at_no_bound_check ( std::size_t  i) const
window nana::drawerbase::tabbar::trigger::attach ( std::size_t  pos,
window  wd,
bool  drop_other 
)
bool nana::drawerbase::tabbar::trigger::close_fly ( bool  fly)
void nana::drawerbase::tabbar::trigger::erase ( std::size_t  pos)
const pat::cloneable< item_renderer > & nana::drawerbase::tabbar::trigger::ext_renderer ( ) const
void nana::drawerbase::tabbar::trigger::ext_renderer ( const pat::cloneable< item_renderer > &  ir)
void nana::drawerbase::tabbar::trigger::insert ( std::size_t  pos,
native_string_type &&  text,
nana::any &&  value 
)
std::size_t nana::drawerbase::tabbar::trigger::length ( ) const
void nana::drawerbase::tabbar::trigger::set_event_agent ( event_agent_interface evt)
void nana::drawerbase::tabbar::trigger::tab_color ( std::size_t  i,
bool  is_bgcolor,
const ::nana::color clr 
)
void nana::drawerbase::tabbar::trigger::tab_image ( size_t  ,
const nana::paint::image  
)
void nana::drawerbase::tabbar::trigger::text ( std::size_t  i,
const native_string_type str 
)
native_string_type nana::drawerbase::tabbar::trigger::text ( std::size_t  i) const
bool nana::drawerbase::tabbar::trigger::toolbox ( kits  btn,
bool  enable 
)