[−][src]Macro native_windows_gui::nwg_datepicker
Sane defaults for the DatePicker control. Requires a parent.
Defaults:
• value: Todays date
• position: (0, 0)
• size: (100, 30)
• visible: true
• disabled: false
• font: None
• align: HTextAlign::Left
• format: The system locale format in a short format (ex: 2017-01-01)
• optional: false
Usage:
nwg_DatePicker!(parent="MyParent";)
nwg_DatePicker!(parent="MyParent"; visible=false; size=(10, 10))
nwg_DatePicker!(parent="MyParent"; \* Any combinations of the template properties*\)