The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

UI::Various::Text - general text widget of UI::Various

SYNOPSIS

    use UI::Various;
    my $main = UI::Various::main();
    $main->window(UI::Various::Text->new(text => 'Hello World!'),
                  ...);
    $main->mainloop();

ABSTRACT

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

DESCRIPTION

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

Attributes

text [rw, recommended]

the text as string or variable reference

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 Text 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 (at) cpan (dot) org>