Nana C++ Library. Reference for users.
What we need to use nana
|
Public Member Functions | |
item_proxy (::nana::toolbar *, std::size_t pos) | |
bool | enable () const |
item_proxy & | enable (bool enable_state) |
item_proxy & | tooltype (tool_type type) |
Sets the tool style. More... | |
bool | istoggle () const |
Returns true if the tool style is toggle. More... | |
bool | toggle () const |
Gets the tool toggle state (only if tool style is toggle). More... | |
item_proxy & | toggle (bool toggle_state) |
Sets the tool toggle state (only if tool style is toggle). More... | |
std::string | toggle_group () const |
Returns the toggle group associated with the tool (only if tool style is toggle). More... | |
item_proxy & | toggle_group (const ::std::string &group) |
Adds the tool to a toggle group (only if tool style is toggle). More... | |
item_proxy & | textout (bool show) |
Show/Hide the text inside the button. More... | |
nana::drawerbase::toolbar::item_proxy::item_proxy | ( | ::nana::toolbar * | t, |
std::size_t | pos | ||
) |
bool nana::drawerbase::toolbar::item_proxy::enable | ( | ) | const |
item_proxy & nana::drawerbase::toolbar::item_proxy::enable | ( | bool | enable_state | ) |
bool nana::drawerbase::toolbar::item_proxy::istoggle | ( | ) | const |
Returns true if the tool style is toggle.
item_proxy & nana::drawerbase::toolbar::item_proxy::textout | ( | bool | show | ) |
Show/Hide the text inside the button.
bool nana::drawerbase::toolbar::item_proxy::toggle | ( | ) | const |
Gets the tool toggle state (only if tool style is toggle).
item_proxy & nana::drawerbase::toolbar::item_proxy::toggle | ( | bool | toggle_state | ) |
Sets the tool toggle state (only if tool style is toggle).
std::string nana::drawerbase::toolbar::item_proxy::toggle_group | ( | ) | const |
Returns the toggle group associated with the tool (only if tool style is toggle).
item_proxy & nana::drawerbase::toolbar::item_proxy::toggle_group | ( | const ::std::string & | group | ) |
Adds the tool to a toggle group (only if tool style is toggle).
item_proxy & nana::drawerbase::toolbar::item_proxy::tooltype | ( | tool_type | type | ) |
Sets the tool style.