UI::Various::Input - general input widget of UI::Various
use UI::Various; my $main = UI::Various::main(); my $input = 'enter name'; $main->window(... UI::Various::Input->new(textvar => $input), ...); $main->mainloop();
This module defines the general input widget of an application using UI::Various.
Besides the common attributes inherited from UI::Various::widget the Input widget knows only one additional attribute:
UI::Various::widget
Input
Note that currently only single line input fields with visible text (no passwords!) are supported.
a variable reference for the input field
The content of the variable will be displayed and can be modified through the input field.
Besides the accessors (attributes) described above and by UI::Various::widget and the methods inherited from UI::Various::widget only the constructor is provided by the Input class itself:
see UI::Various::core::construct
UI::Various
Copyright (C) Thomas Dorner.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.
Thomas Dorner <dorner (at) cpan (dot) org>
To install UI::Various, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UI::Various
CPAN shell
perl -MCPAN -e shell install UI::Various
For more information on module installation, please visit the detailed CPAN module installation guide.