31 Jan 2016 13:45:11 UTC
- Distribution: Tk-Pod
- Module version: 5.41
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (3295 / 26 / 0)
- KwaliteeBus factor: 1
- % Coverage
- License: perl_5
- Activity24 month
- Download (75.13KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Tk::Pod - Pod browser toplevel widget
use Tk::Pod Tk::Pod->Dir(@dirs) # add dirs to search path for Pod $pod = $parent->Pod( -file = > $name, # search and display Pod for name -tree = > $bool # display pod file tree );
Simple Pod browser with hypertext capabilities in a
Set tree view by default on or off. Default is false.
Add to the menu an exit entry. This is only useful for standalone pod readers. Default is false. This option can only be set on construction time.
Other options are propagated to the embedded Tk::Pod::Text widget.
If you set
-filewhile creating the Pod widget,
$parent->Pod(-tree => 1, -file => $pod);
then the title will not be displayed correctly. This is because the internal setting of
-titlemay override the title setting caused by
-file. So it is better to configure
$pod = $parent->Pod(-tree => 1); $pod->configure(-file => $pod);
Nick Ing-Simmons <firstname.lastname@example.org>
Current maintainer is Slaven Rezic <email@example.com>.
Copyright (c) 1997-1998 Nick Ing-Simmons. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.