PasswordInput class new in Git master
#include <Magnum/Ui/Input.h>
Password input widget.
Compared to Input displays the entered text as a sequence of dots.
Base classes
- class Input new in Git master
- Input widget.
Constructors, destructors, conversion operators
-
PasswordInput(Anchor anchor,
Containers::
StringView text, const TextProperties& textProperties, InputStyle style = InputStyle:: Default) explicit - Constructor.
-
PasswordInput(Anchor anchor,
Containers::
StringView text, InputStyle style = InputStyle:: Default) explicit -
PasswordInput(Anchor anchor,
InputStyle style = InputStyle::
Default) explicit - PasswordInput(NoCreateT) explicit
- Construct with no underlying node.
Function documentation
Magnum:: Ui:: PasswordInput:: PasswordInput(Anchor anchor,
Containers:: StringView text,
const TextProperties& textProperties,
InputStyle style = InputStyle:: Default) explicit
Constructor.
| Parameters | |
|---|---|
| anchor | Positioning anchor |
| text | Pre-filled input text |
| textProperties | Text shaping and layouting properties |
| style | Input style |
Magnum:: Ui:: PasswordInput:: PasswordInput(Anchor anchor,
Containers:: StringView text,
InputStyle style = InputStyle:: Default) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Magnum:: Ui:: PasswordInput:: PasswordInput(Anchor anchor,
InputStyle style = InputStyle:: Default) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Magnum:: Ui:: PasswordInput:: PasswordInput(NoCreateT) explicit
Construct with no underlying node.
The instance is equivalent to a moved-out state, i.e. not usable for anything. Move another instance over it to make it useful.