pub struct Entry<H: 'static> { /* fields omitted */ }
An editable, single-line text box.
Construct an Entry
with the given initial text
.
The handler
is called when Action::Activate
is received
(when the "enter" key is pressed)
and its result is returned from the event handler.
Construct an Entry
which is optionally editable
, and has the given
inital text
.
Get the toolkit data associated with this widget
Set the toolkit data associated with this widget Read more
Get the widget's region, relative to its parent.
Get mutable access to the widget's region
Get the number of child widgets
Get a reference to a child widget by index, or None
if the index is out of bounds. Read more
Get whether this input field is editable.
Type of message returned by this handler. Read more
Handle a high-level event directed at the widget identified by number
, and return a user-defined msg. Read more
Type of message returned by this handler. Read more
Handle a high-level event directed at the widget identified by number
, and return a user-defined msg. Read more
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more