Struct native_windows_gui::TextInput [] [src]

pub struct TextInput { /* fields omitted */ }

A single line textinput control

Methods

impl TextInput
[src]

Set or unset the readonly status on the control

Return true if the user cannot edit the content of the control or false if the user can

Add or remove a password mask on the control

Return true if the control has a password mask or false otherwise

Set the maximum number of characters that the control can hold

Return the maximum number of characters that the control can hold

Set a new placeholder for the TextInput. To remove the current placeholder, send ""
The maximum length of the placeholder is 255 characters

Trait Implementations

impl Control for TextInput
[src]

Should return the underlying handle to the object

Should return the type of the control. For custom controls, the return value should be Undefined (the default).

If specified, should free any ressource allocated in the template build function. This includes functions like DestroyWindow.