NAME

UI::Various::Input - general input widget of UI::Various

SYNOPSIS

use UI::Various;
my $main = UI::Various::main();
my $input = 'enter name';
$main->window(...
              UI::Various::Input->new(textvar => $input),
              ...);
$main->mainloop();

ABSTRACT

This module defines the general input widget of an application using UI::Various.

DESCRIPTION

Besides the common attributes inherited from UI::Various::widget the Input widget knows only one additional attribute:

Note that currently only single line input fields with visible text (no passwords!) are supported.

Attributes

textvar [rw, recommended]

a variable reference for the input field

The content of the variable will be displayed and can be modified through the input field.

METHODS

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 abstract Input class itself:

new - constructor

see UI::Various::core::construct

SEE ALSO

UI::Various

LICENSE

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.

AUTHOR

Thomas Dorner <dorner@cpan.org>