Public Member Functions | |
mini_button (const std::string &str, panel *parent=0, bool accept=true) | |
void | on_click (const button_command &action, bool font=false) |
void | click () |
Protected Member Functions | |
virtual void | set_color (ncurses::pen &) |
Private Member Functions | |
event::result | at_keyboard (const keyboard &) |
event::result | at_mouse (const mouse &) |
Private Attributes | |
click_actions | act_ |
|
|
|
public, 'cause used by listbox Reimplemented in ndk::edit, ndk::switch_button< T >, and ndk::switch_button< radio >. |
|
Reimplemented in ndk::switch_button< T >, and ndk::switch_button< radio >. |
|
run default action |
|
some default action on button click |
|
Reimplemented from ndk::label. Reimplemented in ndk::button. |
|
default action for the command |