Curses:...tViewer(3)
β¨ NAME β¨
okay so bestie, this is the Curses:...tViewer(3) page from the User Contributed Perl Documentation, and it's literally about Curses::UI::TextViewer β the class you use to create and manipulate textviewer widgets. periodt. π
π§ CLASS HIERARCHY π§
the family tree is giving main character energy:
Curses::UI::Widget
Curses::UI::Searchable
|
+----Curses::UI::TextEditor
|
+----Curses::UI::TextViewer
π SYNOPSIS π
here's the whole setup, no cap:
use Curses::UI;
my $cui = new Curses::UI;
my $win = $cui->add('window_id', 'Window');
my $textviewer = $win->add(
'mytextviewer', 'TextViewer',
-text => "Hello, world!\n"
. "Goodbye, world!"
);
$textviewer->focus();
πΈ DESCRIPTION πΈ
Curses::UI::TextViewer is a widget that can be used to create a textviewer widget. yes, icon behavior. π
This class is derived from Curses::UI::TextEditor. the only special thing about this class is that the -readonly option is forced to a true value. so for the usage of Curses::UI::TextViewer, see Curses::UI::TextEditor. iykyk. π
π¦ SEE ALSO π¦
go look at Curses::UI, Curses::UI::TextEditor, β bestie homework, but make it cute. π«Ά
π AUTHOR π
Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.
Maintained by Marcus Thiesen (marcus@cpan.thiesenweb.de)
This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the same terms as perl itself.
mwah π this lil page is serving perl v5.42.2 energy, dated 2023-07-03. slay and goodbye. πβ¨
π¦ where this page comes from
- alpine 3.24: perl-curses-ui-doc 0.9609-r3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms