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

String input or an option from a dropdown list. More...

Inherits nana::inputbox::abstract_content.

Classes

struct  implement
 

Public Member Functions

 text (::std::string label,::std::string init_text=::std::string())
 
 text (::std::string label, std::vector<::std::string >)
 
 ~text ()
 
void tip_string (std::wstring tip)
 
void tip_string (std::string tip_utf8)
 
void mask_character (wchar_t ch)
 
::std::string value () const
 
- Public Member Functions inherited from nana::inputbox::abstract_content
virtual ~abstract_content ()=default
 
virtual const ::std::stringlabel () const =0
 
virtual window create (window, unsigned label_px)=0
 
virtual unsigned fixed_pixels () const
 

Detailed Description

String input or an option from a dropdown list.

Examples:
inputbox.cpp.

Constructor & Destructor Documentation

nana::inputbox::text::text ( ::std::string  label,
::std::string  init_text = ::std::string() 
)
nana::inputbox::text::text ( ::std::string  label,
std::vector<::std::string options 
)
nana::inputbox::text::~text ( )

Member Function Documentation

void nana::inputbox::text::mask_character ( wchar_t  ch)
void nana::inputbox::text::tip_string ( std::wstring  tip)
void nana::inputbox::text::tip_string ( std::string  tip_utf8)
std::string nana::inputbox::text::value ( ) const
Examples:
inputbox.cpp.