Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::toolbar::item_container Class Reference

Public Types

using container_type = std::vector< item_type * >
 
using size_type = container_type::size_type
 

Public Member Functions

 ~item_container ()
 
void insert (size_type pos, std::string text, const nana::paint::image &img, tool_type type)
 
void push_back (const std::string &text, const nana::paint::image &img)
 
void push_back (const std::string &text)
 
void go_right () noexcept
 
size_t right () const noexcept
 
void insert (size_type pos)
 
void separate ()
 
size_type size () const noexcept
 
container_typecontainer () noexcept
 
item_typeat (size_type pos)
 
void clear ()
 
void update_toggle_group (item_type *item, bool toggle_state, bool clicked=true)
 

Member Typedef Documentation

using nana::drawerbase::toolbar::item_container::size_type = container_type::size_type

Constructor & Destructor Documentation

nana::drawerbase::toolbar::item_container::~item_container ( )
inline

Member Function Documentation

item_type* nana::drawerbase::toolbar::item_container::at ( size_type  pos)
inline
void nana::drawerbase::toolbar::item_container::clear ( )
inline
container_type& nana::drawerbase::toolbar::item_container::container ( )
inlinenoexcept
void nana::drawerbase::toolbar::item_container::go_right ( )
inlinenoexcept
void nana::drawerbase::toolbar::item_container::insert ( size_type  pos,
std::string  text,
const nana::paint::image img,
tool_type  type 
)
inline
void nana::drawerbase::toolbar::item_container::insert ( size_type  pos)
inline
void nana::drawerbase::toolbar::item_container::push_back ( const std::string text,
const nana::paint::image img 
)
inline
void nana::drawerbase::toolbar::item_container::push_back ( const std::string text)
inline
size_t nana::drawerbase::toolbar::item_container::right ( ) const
inlinenoexcept
void nana::drawerbase::toolbar::item_container::separate ( )
inline
size_type nana::drawerbase::toolbar::item_container::size ( ) const
inlinenoexcept
void nana::drawerbase::toolbar::item_container::update_toggle_group ( item_type item,
bool  toggle_state,
bool  clicked = true 
)
inline