Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.343.644 Times

JSignal 0.2

  Date Added: April 26, 2010  |  Visits: 944

JSignal

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



JSignal is a loose port of the signal system implemented by GTKs GLib. JSignal project uses signals and handlers to allow for the registration of callback functions to events. To use JSignal those classes which will emit signals (cause events) must register the signals that each class will emit. Note that if a class extends another class (has a superclass) it will inherit any signals registered by the parent class and can emit those signals as well. In addition a new global-type of signal can be registered which is class non-specific. Any class can emit a global signal. After you have a class with registered signals you can begin connecting callback functions to those signals. Callback functions are connected (registered to listen for) to signals by specifying the signal and the object instance that will emit that signal; this registration results in the creation of a handler. Multiple handlers can be configured for the same signal on the same object instance. In addition to instance-specific signal handlers a handler can also be registered to execute when a global signal (created using j_signal_new_global) is emitted; again, regardless of emitting instance. Note that when a global signal is emitted by an instance those handlers that are registered globally (using j_signal_handler_connect_global) will be executed BEFORE any instance-specific handlers. To emit a signal - thus causing an event - the class which registered the signal should use the j_signal_emit function and pass any additional information to the callback function via the event detail argument. This detail object should be an array of name => value pairs. Illustrative examples are provided below. Note: In order for signal inheritance to work properly it is recommended that a classs prototype be given a parent member which points to the constructor of the classs superclass.. A demonstration of the Gtk / Gdk libraries in the form of a simple image viewer

Requirements: No special requirements
Platforms: Linux
Keyword: Callback Functions Class Glib Global Gtks Gtks Glib Handlers Jsignal Libraries Programming Registered Signal Signal System Signals
Users rating: 0/10

License: Freeware Size: 28.67 KB
USER REVIEWS
More Reviews or Write Review


JSIGNAL RELATED
Miscellaneous  -  SIGIO handler 1.0
This handler manages a chain of registered callback functions. Usually, users of this module only have to register a DirectoryNotifier object here. Other objects (Dispatcher objects) are registered with the poller (which is already set up to be...
 
Libraries  -  Glib 1.132
Glib are Perl wrappers for the GLib utility and Object libraries. SYNOPSIS use Glib; ABSTRACT This module provides perl access to GLib and GLibs GObject libraries. GLib is a portability and utility library; GObject provides a generic type...
245.76 KB  
Libraries  -  Async::Group 0.3
Async::Group is a Perl class to deal with simultaneous asynchronous calls. SYNOPSIS use Async::Group ; use strict ; sub sub1 { print "Dummy subroutine n"; my $dummy = shift ; my $cb = shift ; &$cb(1); } sub allDone { print "All...
4.1 KB  
Libraries  -  Class::NiceApi 0.01.02
Class::NiceApi is a Perl module that translates your methodNames to my method_names. SYNOPSIS use Class::NiceApi; my $acl = Class::NiceApi->new( victim => Decision::ACL->new(), style => custom, table => { run_acl => RunACL } ); Perl method...
3.07 KB  
Libraries  -  Rudiments 0.30
Rudiments is a C++ class library providing base classes for things such as daemons, clients, and servers, and wrapper classes for the standard C functions for things like semaphores, regular expressions, and signal handling. In the early days of...
593.92 KB  
Database Tools  -  Data Grid Object 1.0
Data Grid Object can be used to display MySQL query results in HTML tables. It is based on another class originally written by Carlos Miguel Guevara.This version includes several enhancements:- The code no longer issues warnings with E_STRICT...
10 KB  
Libraries  -  Term::VT102 0.82
Term::VT102 is a class to emulate a DEC VT102 terminal. SYNOPSIS use Term::VT102; my $vt = Term::VT102->new (cols => 80, rows => 24); while ( ) { $vt->process ($_); } The VT102 class provides emulation of most of the functions of a DEC...
24.58 KB  
Libraries  -  Games::Euchre::Trick 1.02
Games::Euchre::Trick is a trick class for Euchre card game. Only one Trick instance is alive at one time per Euchre game. The Trick keeps track of which cards have been played, and provides useful functions to determine which cards are legal...
21.5 KB  
Libraries  -  B::XPath 0.01
B::XPath class can search Perl optrees with XPath syntax. SYNOPSIS Perl represents programs internally as a tree of opcodes. To execute a program, it walks this tree, performing each operation as it encounters it. The B family of modules...
7.17 KB  
Libraries  -  XML::SAX::Base 1.02
XML::SAX::Base is a base Perl class with SAX Drivers and Filters. SYNOPSIS package MyFilter; use XML::SAX::Base; @ISA = (XML::SAX::Base); This module has a very simple task - to be a base class for PerlSAX drivers and filters. Its default...
20.48 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB