[][src]Macro native_windows_gui::nwg_textinput

macro_rules! nwg_textinput {
    (parent=$p:expr; $( $i:ident=$v:expr );* ) => { ... };
}

Sane defaults for the TextInput control. Requires a parent.

Defaults:
• text: ""
• position: (0, 0)
• size: (100, 30)
• visible: true
• disabled: false
• readonly: false
• password: false
• limit: 32_767
• placeholder: None
• font: None

Usage:
nwg_textinput!(parent="MyParent";)
nwg_textinput!(parent="MyParent"; visible=false; size=(10, 10))
nwg_textinput!(parent="MyParent"; \* Any combinations of the template properties*\)