Curses:...extEntry(3)

πŸ’– Curses::UI::TextEntry πŸ’–

okay so bestie, this page is Curses:...extEntry(3) from the User Contributed Perl Documentation, and it's giving cute little textentry widget energy in Curses::UI. slay. πŸ’…


✨ NAME ✨

Curses::UI::TextEntry β€” Create and manipulate textentry widgets πŸŽ€

🌈 CLASS HIERARCHY 🌈

the family tree is right here, no cap:

Curses::UI::Widget
Curses::UI::Searchable
   |
   +----Curses::UI::TextEditor
           |
           +----Curses::UI::TextEntry

so Curses::UI::TextEntry sits under Curses::UI::TextEditor, which sits under Curses::UI::Searchable, which sits under Curses::UI::Widget. iconic lineage tbh πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole vibe in code:

use Curses::UI;
my $cui = new Curses::UI;
my $win = $cui->add('window_id', 'Window');

my $textentry = $win->add(
    'mytextentry', 'TextEntry'
);

$textentry->focus();
my $text = $textentry->get();

🌸 DESCRIPTION 🌸

Curses::UI::TextEntry is literally a widget that can be used to create a textentry widget. This class is derived from Curses::UI::TextEditor, fr fr. The only special thing about this class is that the -singleline option is forced to a true value. So for the usage of Curses::UI::TextEntry, see Curses::UI::TextEditor.

heads up: -singleline is forced true for this class, periodt. πŸ’…

⭐ SEE ALSO ⭐

  • Curses::UI
  • Curses::UI::TextEditor

πŸ‘‘ 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.

okay that's the whole page, bye bestie πŸ’… β€” source/version perl v5.42.2, date 2023-07-03, page Curses:...extEntry(3) ✨

πŸ“¦ where this page comes from