NAME

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

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 )

  • 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.