More(3pm) User Contributed Perl Documentation More(3pm)NAME
Tk::More - a 'more' or 'less' like text widget
SYNOPSIS
use Tk::More;
$more = $parent->More(...text widget options ...);
$more->Load(FILENAME);
DESCRIPTION
Tk::More is a readonly text widget with additional key bindings as found in UNI* command line tools "more" or "less". As in "more" an
additional status/command line is added at the bottom.
ADDITIONAL BINDINGS
Key-g or Home
goto beginning of file
Key-G or End
goto end of file
Key-f or Next
forward screen
Key-b or Prior
backward screen
Key-k or Up
up one line
Key-j or Down
down one line
Key-/
search forward
Key-?
search backward
Key-n
find next match
Key-N
find previous match
Key-u
up half screen
Key-d
down half screen
Key-Return
down one line
Key-h
invoke help window
OPTIONS
Name: fixedFont
Class: FixedFont
Switch: -font
Set the font of the viewer widget. This is by default a fixed font.
Name: searchCase
Class: SearchCase
Switch: -searchcase
Set if searching should be done case-insensitive. Defaults to true.
Switch: -helpcommand
Sets the command for the "h" (help) key.
METHODS
Load($file, %args)
Load $file into the widget. %args may be one of the following
-encoding => $encoding
Assume the encoding of the file to be $encoding. If none is given, then assume no encoding (which is equivalent to iso-8859-1).
AddQuitBindings
Convenience method to add the bindinds Key-q and Control-Key-q to close the Toplevel window containing this More widget.
BUGS
Besides that most of more bindings are not implemented. This bugs me most (high to low priority):
* better status line implementation
* Cursor movement: up/down move displayed area regardless where
insert cursor is
* add History, Load, Search (also as popup menu)
SEE ALSO
Tk::ROText, more(1), tkmore, less(1)AUTHOR
Achim Bohnet <ach@mpe.mpg.de>
Currently maintained by Slaven Rezic <slaven@rezic.de>.
Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
perl v5.14.2 2012-03-04 More(3pm)
Check Out this Related Man Page
Pod_usage(3pm) User Contributed Perl Documentation Pod_usage(3pm)NAME
Tk::Pod_usage - How to use the perl/Tk Pod browser widget
DESCRIPTION
To navigate through the documentation one could use
Hyperlinks
A click on a hyperlink display the corresponding Pod documentation (if there is any) in the same window. An URL will be displayed in a web
browser. A man page will be displayed in a man viewer (if one is available).
With <Button-2> the documentation is loaded into a new window (<Shift-Button-1> works also for those with only a 2 button mouse).
Selection
A double click tries to load the documentation for the selected word in the same window.
If the "Shift" key is simultaneously pressed a new browser window is opened.
Key bindings
The Tk::Pod::Text widget is based on the Tk::More widget inheriting its key bindings.
Search
Pressing <Key-/> lets you search in the displayed documentation.
Section Menu
The Section Menu
The 'Section' menu allows one to directly jump to the start of a section in the documentation.
Action Menu
If you press the right mouse button you get a popup menu that allows:
o Back
in history of displayed documentation
o Forward
in history of displayed documentation
o Reload
the documentation
o Edit Pod
Start editor with source of the displayed document.
The used editor is selected by the first definition of the environment variables "TKPODEDITOR", "XEDITOR", "VISUAL", "EDITOR" or as
default /usr/bin/vi. If no terminal is available (or on Windows platforms), the ptked editor (bundled with Perl/Tk) will be used
instead.
See also the menu entries 'File' -> 'Edit' and 'File' -> 'Edit with ptked'.
o Search fulltext
Full text search of the Pod in the perl library directories. (Note: to use it one has to install the perlindex distribution and build
an index for the perl documentation, see Text::English)
The remaining menu entries are the same as in normal "Text" widgets.
Tree view
You can toggle the tree view of all installed modules on or off with the 'View' -> 'Pod Tree' menu entry. The tree view is organized in
three sections: Perl language (general documentation about Perl), Pragmata, and Modules. The labels in the tree are colored, where green
means "standard module which comes with the Perl core distribution", red means "locally installed module, probably from CPAN", and grey
means "no module available, look at the subtree".
The tree data is cached in a temporary directory on a per-perl-version and per-user basis. A reload can be forced with the Reload entry in
the action menu of the tree view. With the Search entry a search in the tree can be performed. The Show modules at CPAN entry is highly
experimental - you can download, extract and look at the documentation of all CPAN modules.
SEE ALSO
tkpod, perlpod, pod2man, pod2text, pod2html, Tk::Pod, Tk::Pod::Text, Tk::Pod::Tree, Tk::More, Text::English.
KEYWORDS
pod, browser, tk, hypertext
AUTHOR
Achim Bohnet <ach@mpe.mpg.de>
Current maintainer is Slaven Rezic <slaven@rezic.de>
Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This documentation is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
perl v5.14.2 2012-03-24 Pod_usage(3pm)