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

Gtk2::ColorButton(3pm)					User Contributed Perl Documentation				    Gtk2::ColorButton(3pm)

NAME
Gtk2::ColorButton - wrapper for GtkColorButton HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Button +----Gtk2::ColorButton INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Activatable METHODS
widget = Gtk2::ColorButton->new ($color=undef) o $color (Gtk2::Gdk::Color) widget = Gtk2::ColorButton->new_with_color ($color=undef) o $color (Gtk2::Gdk::Color) unsigned = $color_button->get_alpha $color_button->set_alpha ($alpha) o $alpha (unsigned) color = $color_button->get_color $color_button->set_color ($color) o $color (Gtk2::Gdk::Color) string = $color_button->get_title $color_button->set_title ($title) o $title (string) boolean = $color_button->get_use_alpha $color_button->set_use_alpha ($use_alpha) o $use_alpha (boolean) PROPERTIES
'alpha' (Glib::UInt : default 65535 : readable / writable / private) The selected opacity value (0 fully transparent, 65535 fully opaque) 'color' (Gtk2::Gdk::Color : default undef : readable / writable / private) The selected color 'title' (string : default "Pick a Color" : readable / writable / private) The title of the color selection dialog 'use-alpha' (boolean : default false : readable / writable / private) Whether or not to give the color an alpha value SIGNALS
color-set (Gtk2::ColorButton) SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::ColorButton(3pm)
Man Page