Linux SoftwareProgrammingLibrariesPOE::Session::GladeXML2 0.3.1

POE::Session::GladeXML2 0.3.1


POE::Session::GladeXML2 is a Perl module that can emit POE events for Gtk2 callbacks. SYNOPSIS package test; use POE::
Developer:   Martijn van Beers
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   11K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


POE::Session::GladeXML2 is a Perl module that can emit POE events for Gtk2 callbacks.

SYNOPSIS

package test;

use POE::Session::GladeXML2;

# the name of the sub needs to match with the name you entered in
# the glade signal handler dialog.
sub on_button1_clicked {
print STDERR "button clickedn";
}

sub new {
[... object creation ...]
my $session = POE::Session::GladeXML2->create (
glade_object => $self,
glade_file => 'test.glade',
glade_args => 'widgetname',
[... POE Session params ...]
);

return $self;
}

Gtk2::GladeXML->init;
my $foo = test->new;
$poe_kernel->run();

A simple helper module that lets you connect callback names from your .glade file with methods of an object. These methods are called as POE callback or postback methods. POE::Session::GladeXML automatically determines whether gtk expects the signal handler to return a value. If it does, a callback is used, otherwise a postback will be used.

Requirements:
  • Perl
    tags poe session  session gladexml2  glade file  signal handler  module that  the name  

    Download POE::Session::GladeXML2 0.3.1


     http://mirrors.evolva.ro/CPAN/authors/id/M/MA/MARTIJN/POE-Session-GladeXML2-0.3.1.tar.gz


    Authors software

    POE::Session::GladeXML2 0.3.1 (by Martijn van Beers)
    POE::Session::GladeXML2 is a Perl module that can emit POE events for Gtk2 callbacks.

    SYNOPSIS

    package test;

    use POE::


    Similar software

    POE::Session::GladeXML2 0.3.1 (by Martijn van Beers)
    POE::Session::GladeXML2 is a Perl module that can emit POE events for Gtk2 callbacks.

    SYNOPSIS

    package test;

    use POE::

    Gtk2::GladeXML::Simple 0.32 (by Marco Antonio Manzo)
    Gtk2::GladeXML::Simple is a clean object-oriented interface to Gtk2::GladeXML.

    SYNOPSIS

    package MyApp;
    use base qw( Gtk2

    Gtk2::GladeXML 1.005 (by Ross McFarland)
    Gtk2::GladeXML is a Perl module that create user interfaces directly from Glade XML files.

    SYNOPSIS

    # for a pure gtk+ glade p

    POE::Component::Generic 0.0904 (by David Davis and Teknikill Software)
    POE::Component::Generic is a POE component that provides non-blocking access to a blocking object.

    SYNOPSIS

    use POE::Compon

    Gtk2::Helper 1.122 (by Jorn Reder)
    Gtk2::Helper is a Perl module for convenience functions for the Gtk2 module.

    SYNOPSIS

    use Gtk2::Helper;

    # Handle I/O wat

    Gtk2::Ex::DBI 2.0 (by Daniel Kasak)

    App::Session 0.962 (by App::Session Team)
    App::Session can represents a sequence of multiple events perhaps executed in separate processes.

    SYNOPSIS

    # ..

    Gtk2::Ex::FormFactory::Button 0.65 (by J?rn Reder)
    Gtk2::Ex::FormFactory::Button is a Button in a FormFactory framework.

    SYNOPSIS

    Gtk2::Ex::FormFactory::Button->new (
    clic

    POE::Kernel 0.3502 (by Rocco Caputo)
    POE::Kernel is an event driven threaded application kernel in Perl.

    SYNOPSIS

    POE comes with its own event loop, which is based

    JSignal 0.2 (by Jason Barto)
    JSignal is a loose port of the signal system implemented by GTK's GLib


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell



    Top tags