Nana - a C++ framework project The Programmer's Guide |
||||||||||||||||||||||||||||||||||||||||||||||||||
nana::gui::textbox Description a nana::gui::textbox is used in a window to permit users to enter and edit text by typing on the keyboard. Model of Widget Window Public base classes class widget_object<widget_tag, DrawerTrigger>: public widget Members
C++03 Member
C++11 Member
File nana/gui/widgets/textbox.hpp Notes 1, The return type of ext_event() is coming with textbox, its definition is struct implement-specifed { nana::fn_group<void()> first_change; //An event for the text first change after text is been opened or stored. }; An instance of first_change Some text editor programs, such as vim, notepad++, when the text is beeing modified, the caption of window will display a special character(such as * ~ +) to indicate changing of text. To implement this feature, you can set a function to the first_change for modifying the caption of your window. 2, The tip string is displayed when textbox is empty and it will be hidden after textbox gets the focus. See also None. Move to The Nana Programmer's Guide Main Page |
||||||||||||||||||||||||||||||||||||||||||||||||||