[][src]Macro native_windows_gui::nwg_textbox

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

Sane defaults for the TextBox control. Requires a parent.

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

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