[−][src]Macro native_windows_gui::nwg_checkbox
Sane defaults for the CheckBox control. Requires a parent.
Defaults:
• text: ""
• position: (0, 0)
• size: (100, 30)
• visible: true
• disabled: false
• checkstate: CheckState::Unchecked
• tristate: false
• font: None
Usage:
nwg_checkbox!(parent="MyParent";)
nwg_checkbox!(parent="MyParent"; visible=false; size=(10, 10))
nwg_checkbox!(parent="MyParent"; \* Any combinations of the template properties*\)