1Curses::UI::TextEntry(3U)ser Contributed Perl DocumentatiCounrses::UI::TextEntry(3)
2
3
4
6 Curses::UI::TextEntry - Create and manipulate textentry widgets
7
9 Curses::UI::Widget
10 Curses::UI::Searchable
11 |
12 +----Curses::UI::TextEditor
13 |
14 +----Curses::UI::TextEntry
15
17 use Curses::UI;
18 my $cui = new Curses::UI;
19 my $win = $cui->add('window_id', 'Window');
20
21 my $textentry = $win->add(
22 'mytextentry', 'TextEntry'
23 );
24
25 $textentry->focus();
26 my $text = $textentry->get();
27
29 Curses::UI::TextEntry is a widget that can be used to create a
30 textentry widget. This class is derived from Curses::UI::TextEditor.
31 The only special thing about this class is that the -singleline option
32 is forced to a true value. So for the usage of Curses::UI::TextEntry
33 see Curses::UI::TextEditor.
34
36 Curses::UI, Curses::UI::TextEditor,
37
39 Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.
40
41 Maintained by Marcus Thiesen (marcus@cpan.thiesenweb.de)
42
43 This package is free software and is provided "as is" without express
44 or implied warranty. It may be used, redistributed and/or modified
45 under the same terms as perl itself.
46
47
48
49perl v5.32.0 2020-07-28 Curses::UI::TextEntry(3)