Nana C++ Library  
open-source C++ framework project 
The Programmer's Guide 
nana::gui::date_chooser

Description

a graphical user interface widget for choosing a date.

Model of

Widget Window 

Public base classes

class widget_object<widget_tag, DrawerTrigger>: public widget

Members

date_chooser() The default constructor
date_chooser(window wd, bool visible) Create a date_chooser.
date_chooser(window wd, const nana::string& title, bool visible = true) Ditto.
date_chooser(window wd, const nana::char_t* title, bool visible = true) Ditto.
date_chooser(window wd, const rectangle& r = rectangle(), bool visible = true) Ditto.
bool chose() const Return a state that indicates the user whether chose a date.
nana::date read() const Return a date object that indicates what date the user chose.
void weekstr(unsinged index, const nana::string& str) Set the week strings which were displayed for day, index is in range of [0, 6]
void monthstr(unsigned index, const nana::string& str) Set the month strings which were displayed for month. index is in range of [0, 11]

File

nana/gui/widgets/date_chooser.hpp

Notes

None.

See also

date.


Move to The Nana Programmer's Guide Main Page