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

Curses::UI::SearchEntry - Create and manipulate searchentry widgets

CLASS HIERARCHY

Curses::UI::Widget
   |
   +----Curses::UI::Container
           |
           +----Curses::UI::SearchEntry

DESCRIPTION

This class implements a 'less'-like search prompt. The searchentry has two elements: a prompt (P) and a textentry (______):

P______

This class is internally used by the Curses::UI::Searchable class, so this manual page is not very large.

WIDGET-SPECIFIC OPTIONS

  • -prompt < CHARACTER >

    This option sets the initial prompt for the SearchEntry widget.

METHODS

  • new ( OPTIONS )

  • layout ( )

  • draw ( BOOLEAN )

  • intellidraw ( )

  • focus ( )

    These are standard methods. See Curses::UI::Widget for an explanation of these.

  • get ( )

    This method will return the current text of the entry element.

  • prompt ( [CHARACTER] )

    If CHARACTER is defined, the prompt will be set to CHARACTER. Else the current prompt value will be returned.

SEE ALSO

Curses::UI, Curses::UI::Searchable

AUTHOR

Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.

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.