NAME
Tk::PerlInheritanceTree - Display a graphical representation of the inheritance tree for a given class-name.
SYNOPSIS
require Tk::PerlInheritanceTree;
...
my $inheritance_tree = $main_window->PerlInheritanceTree()->pack;
$inheritance_tree->classname('Tk::MainWindow');
DESCRIPTION
Tk::PerlInheritanceTree displays a graphical representation of the inheritance tree for a given class(package)-name. The nodes representing classnames have mouseclick bindings to open a Tk::PerlMethodList - widget. Tk::PerlInheritanceTree is a Tk::Frame-derived widget.
PerlInheritanceTree.pm can be run as stand-alone application.
SEE ALSO
Documentation of Tk::PerlMethodList.
METHODS
Tk::PerlInheritanceTree supports the following methods:
- classname('A::Classname')
-
Set the Classname-Entry to 'A::Classname' and show_classtree.
- show_classtree()
-
Display a tree for the given classname
OPTIONS
Tk::PerlInheritanceTree supports the following options:
- -classname
-
configure(-classname=>'A::Classname') same as method classname()
- -gridsize
-
configure(-gridsize=>$size) Set the distance between nodes to $size pixels. Defaults to 100.
- -multiple_methodlists
-
configure(-multiple_methodlists=>bool) Allows multiple instances of PerlMethodList to be opened if set to a true value. Defaults to 0.
AUTHOR
Christoph Lamprecht, ch.l.ngre@online.de
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Christoph Lamprecht
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.