|
|
| |
App::PFM::Browser::Chooser(3) |
User Contributed Perl Documentation |
App::PFM::Browser::Chooser(3) |
App::PFM::Browser::Chooser
This class is derived from App::PFM::Browser to incorporate browsing
functionality. It adds functionality for displaying a list of items and
selecting one.
- _init(App::PFM::Screen $screen, App::PFM::Config $config)
- Initializes new instances. Called from the constructor.
- _wait_loop()
- Waits for keyboard input. In unused time, flash the cursor and update the
on-screen clock, if necessary.
- _highlight(boolean $value)
- Highlights the current item, if value is true. Otherwise, removes
highlight.
- prompt(string $prompt)
- Getter/setter for the prompt that is to be displayed.
- handle_non_motion_input(App::PFM::Event $event)
- Attempts to handle the non-motion event (keyboard- or mouse-input).
Returns a hash reference with a member 'handled' indicating if this was
successful, and a member 'data' with additional data (like the string
'quit' in case the user requested an application quit).
- choose(string $prompt)
- Allows the user to browse through the list of items and select one
item.
pfm(1), App::PFM::Browser(3pm).
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |