Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

data::treedumper::renderer::gtk(3pm) [debian man page]

GTK(3pm)						User Contributed Perl Documentation						  GTK(3pm)

NAME
Data::TreeDumper::Renderer::GTK - 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 +----Data::TreeDumper::Renderer::GTK DESCRIPTION
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. EXAMPLE
gtk_test.pl METHODS
widget = Data::TreeDumper::Renderer::GTK::TreeDumper->new (...) Create a new TreeDumper. The optional arguments are expect to be key/val pairs. - dumper_setup => hash reference All data is passed to Data::TreeDumper - data => scalar Equivalent to calling "$treedumper->set_data ($scalar)". - title => string or undef Equivalent to calling "$treedumper->set_title ($string)". $treedumper->set_data ($newdata) o $newdata (scalar) Fill the tree with $newdata, which may be any scalar. The tree does not reference $newdata -- necessary data is copied. $treedumper->set_title ($title=undef) o $title (string or undef) a new title Set the string displayed as the column title. The view is created with one column, and the header is visible only if there is a title set. EXPORT
None AUTHORS
Khemir Nadim ibn Hamouda. <nadim@khemir.net> Muppet <scott at asofyet dot org> Copyright (c) 2005 Nadim Ibn Hamouda el Khemir and Muppet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perlitself. If you find any value in this module, mail me! All hints, tips, flames and wishes are welcome at <nadim@khemir.net>. SEE ALSO
Data::TreeDumper for advanced usage of the dumper engine. perl v5.10.1 2008-08-30 GTK(3pm)

Check Out this Related Man Page

Gnome2::DruidPageEdge(3pm)				User Contributed Perl Documentation				Gnome2::DruidPageEdge(3pm)

NAME
Gnome2::DruidPageEdge - wrapper for GnomeDruidPageEdge HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gnome2::DruidPage +----Gnome2::DruidPageEdge INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gnome2::DruidPageEdge->new ($position) o $position (Gnome2::EdgePosition) widget = Gnome2::DruidPageEdge->new_aa ($position) o $position (Gnome2::EdgePosition) widget = Gnome2::DruidPageEdge->new_with_vals ($position, $antialiased, $title=undef, $text=undef, $logo=undef, $watermark=undef, $top_watermark=undef) o $position (Gnome2::EdgePosition) o $antialiased (boolean) o $title (string) o $text (string) o $logo (Gtk2::Gdk::Pixbuf or undef) o $watermark (Gtk2::Gdk::Pixbuf or undef) o $top_watermark (Gtk2::Gdk::Pixbuf or undef) $druid_page_edge->set_bg_color ($color) o $color (Gtk2::Gdk::Color) $druid_page_edge->set_logo_bg_color ($color) o $color (Gtk2::Gdk::Color) $druid_page_edge->set_logo ($logo_image) o $logo_image (Gtk2::Gdk::Pixbuf or undef) $druid_page_edge->set_text_color ($color) o $color (Gtk2::Gdk::Color) $druid_page_edge->set_text ($text) o $text (string) $druid_page_edge->set_textbox_color ($color) o $color (Gtk2::Gdk::Color) $druid_page_edge->set_title_color ($color) o $color (Gtk2::Gdk::Color) $druid_page_edge->set_title ($title) o $title (string) $druid_page_edge->set_top_watermark ($top_watermark_image) o $top_watermark_image (Gtk2::Gdk::Pixbuf or undef) $druid_page_edge->set_watermark ($watermark) o $watermark (Gtk2::Gdk::Pixbuf or undef) ENUMS AND FLAGS
enum Gnome2::EdgePosition o 'start' / 'GNOME_EDGE_START' o 'finish' / 'GNOME_EDGE_FINISH' o 'other' / 'GNOME_EDGE_OTHER' o 'last' / 'GNOME_EDGE_LAST' SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gnome2::DruidPage COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::DruidPageEdge(3pm)
Man Page