Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xacobeo::gobject(3pm) [debian man page]

Xacobeo::GObject(3pm)					User Contributed Perl Documentation				     Xacobeo::GObject(3pm)

NAME
Xacobeo::GObject - Build GObjects easily. SYNOPSIS
package My::Widget; use Xacobeo::GObject; Xacobeo::GObject->register_package('Gtk2::Entry' => properties => [ Glib::ParamSpec->object( 'ui-manager', 'UI Manager', "The UI Manager that provides the UI", 'Gtk2::UIManager', ['readable', 'writable'], ), ], ); # Builtin constructor my $widget = My::Widget->new(); # Set the property and fires the signal 'notify::ui-manager' $widget->set_ui_manager(Gtk2::UIManager->new); # Get the property $widget->get_ui_manager; # Direct accessor/setter (the setter doesn't fire any signal) $widget->ui_manager; DESCRIPTION
Simple framework for building GObjects. This package is very similar to "Glib::Object::Subclass" except this one create accessors and setters for the object properties. AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2008,2009 by Emmanuel Rodriguez. 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.8 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-16 Xacobeo::GObject(3pm)

Check Out this Related Man Page

Xacobeo::App(3pm)					User Contributed Perl Documentation					 Xacobeo::App(3pm)

NAME
Xacobeo::App - Application SYNOPSIS
use Xacobeo::App; my $xacobeo = Xacobeo::App->get_app(); my $window = $xacobeo->new_window(); $window->load_file($source, $type); $xacobeo->load_plugins(); # Start the main loop Gtk2->main(); DESCRIPTION
Instance to the main application. This singleton is used to manage the life-time of the application, its widgets (specially the main windows) and to setup the application. =head1 PROPERTIES The following properties are defined: conf A reference to the main configuration singleton. windows The windows available. METHODS
The package defines the following methods: get_app Returns the current application instance. This class is a singleton so there's no constructor. get_windows Returns the windows created so far. new_window Creates a new window and shows it. load_plugins Loads the plugins that are available. load_plugin Loads a plugin based on the given description file. Parameters: o $file The file describing the plugin. AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2008,2009 by Emmanuel Rodriguez. 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.8 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-16 Xacobeo::App(3pm)
Man Page