Prima::HelpViewer - the built-in POD browser
The module presents two packages, Prima::HelpViewer and Prima::PodViewWindow. Their purpose is to serve as a mediator between the Prima::PodView package, the toolkit help interface, and the user. Prima::PodViewWindow includes all the user functionality needed, including text search, color and font setup, printing, etc. Prima::HelpViewer provides two methods - open and close, used by Prima::Application for invocation of the help viewer .
The browser can be used to view and print POD ( plain old documentation ) files. See the command overview below for a more detailed description
Presents a file selection dialog, when the user can select a file to browse. The file must contain POD content, otherwise, a warning is displayed.
Asks for a manpage, that is searched in PATH and the perl installation directories.
Opens the new viewer window with the same context.
Commands in this group call external processes
prima-class is the utility for displaying the widget class hierarchies. The command asks for the Prima class to display the hierarchy information.
Provides a dialog where the user can select the appropriate printer device and its options.
Prints the current topic to the selected printer.
If the "Full text view" menu item is checked, prints the whole manpage.
Closes the window.
Closes all help viewer windows.
Increases the currently selected font by 2 points.
Decreases the currently selected font by 2 points.
If checked, the whole manpage is displayed. Otherwise, its content is presented as a set of topics, and only a single topic is displayed.
Presents a text find dialog where the user can type the text to search, and select the search options - the search direction, scope, etc.
Starts search for the text, entered in the last text find dialog, with the same search options.
The following commands provide a simple vi-style text search functionality - character keys ?,/,n,N bound to the commands below:
Presents an input line where a text can be entered; the text search is performed parallel to the input.
Same as the Forward option, except that the search direction is backward.
Repeats the search in the same direction as the initial search
Repeat the search in the reverse direction from the initial search
Presents a setup dialog where the user can select appropriate fonts and colors.
Displays the previously visited manpage or topic
Displays the previously visited manpage or topic that was left via the Back command.
Displays the upper-level topic within the manpage
Moves to the previous topic within the manpage
Moves to the next topic within the manpage
Displays the information about the help viewer.
Displays the information about the usage of the help viewer
Dmitry Karasik, <firstname.lastname@example.org>.
This program is distributed under the BSD License.
To install Prima, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.