Data::TreeDumper::Renderer::GTK 0.01 review

Download
by rbytes.net on

Data::TreeDumper::Renderer::GTK is a Gtk2::TreeView renderer for Data::TreeDumper. SYNOPSIS my $treedumper = Data::TreeDumper::

License: Perl Artistic License
File size: 4K
Developer: Khemir Nadim ibn Hamouda
0 stars award from rbytes.net

Data::TreeDumper::Renderer::GTK is a Gtk2::TreeView renderer for Data::TreeDumper.

SYNOPSIS
my $treedumper = Data::TreeDumper::Renderer::GTK->new
(
data => %data,
title => 'Test Data',
dumper_setup => {DISPLAY_PERL_SIZE => 1}
);

$treedumper->modify_font(Gtk2::Pango::FontDescription->from_string ('monospace'));
$treedumper->expand_all;

# some boilerplate to get the widget onto the screen...
my $window = Gtk2::Window->new;

my $scroller = Gtk2::ScrolledWindow->new;
$scroller->add ($treedumper);

$window->add ($scroller);
$window->show_all;

HIERARCHY
Glib::Object
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::TreeView
+----Mup::TreeDumper

GTK-perl renderer for Data::TreeDumper.

This widget is the gui equivalent of Data::TreeDumper; it will display a perl data structure in a TreeView, allowing you to fold and unfold child data structures and get a quick feel for what's where. Right-clicking anywhere in the view brings up a context menu, from which the user can choose to expand or collapse all items.

Requirements:
Perl

Data::TreeDumper::Renderer::GTK 0.01 search tags