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.477.329 Times

pgk 0.05

  Date Added: April 13, 2010  |  Visits: 726

pgk

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)

pgk is a Perl Gimp Kit, a OO perl gtk interface. pgk::Widget new ($name,$type) pre: $name is the name of this widget. $type is the type of this widget. post: base class pgk::Widget created, that implements base functions for all derived pgk classes. add($widget) pre: $widget is a derivative of pgk::Widget. post: $widget has been added to the widgetlist of $self. setHandle($handle) pre: Got $handle from pgk_xs C-function and is a pointer to a GTK widget. post: $widget is associated with $handle. $handle=getHandle() pre: setHandle(..) post: =the GTK widget pointer associated with this pgk widget. Can be used in calls to pgk_xs. setEvent($eventFunc,$eventType, ...) pre: $eventType <- valid GTK event for the specific GTK Widget associated with getHandle() post: In case of an event of type $eventType for this GTK Widget, $eventFunc will be called with arguments .... smpl: my $dlg=new pgk::Dialog(my_dialog,This is a title, 3, 3); my $lab=new pgk::Label(my_label, This is my label); $lab->setEvent(main::LabelEvent, clicked, $dlg); In case of a clicked event for the $lab label, main::LabelEvent will be called with argument $dlg. E.g., fields in $dlg can be updated. setTimer($millisecs,$timerFunc, ...) pre: post: Timer is set for $millisecs for this widget. After $millisecs, &$timerFunc is called with arguments .... Note: timerFunc returns 1 for continues calling. timerFunc returns 0 for one shot calling. smpl: my $dlg=new pgk::Dialog(my_dialog, My title, 2, 2); $dlg->setTimer(1000, main::updateTime, $dlg); package main; sub updateTime { my $window=shift; my $time=ctime(); $window->setValue($time); return 1; } addTimer($millisecs, $timerFunc, ...) pre: post: Timer is added to the current widget. After $millisecs, &$timerFunc is called with arguments $this, .... Note: timerFunc returns 1 for continues calling. timerFunc returns 0 for one shot calling. smpl: my $dlg=new pgk::Dialog(my_dialog, My title, 2, 2); $dlg->addTimer(1000, main::updateTime, "My extra argument"); package main; sub updateTime { my $self=shift; my $txt=shift; my $time=ctime(); $self->setValue($time." $txt"); return 1; } setProp($prop,$value|@value) post: Property $prop of $widget has been set to $value. smpl: $widget->setProp(myprop,"My Value"); getProp($prop) post: = value of property $prop of $widget. smpl: my $t=$widget->getProp(myprop); setWidget($widget) post: sets property widget.$widget->name() to $widget. getWidget($name) post: =widget of $name, if setWidget has been called before. =undef, otherwise setValue($value) post: pgk::Widget base class implements this method by calling setProp(value,$value). getValue() post: pgk::Widget base class implements this method by calling getProp(value). show() post: shows all PGK widgets associated with the current widget, including this one. Quit() post: Quits the application, destroying all pgk windows opened. name() post: =name of widget..

Requirements: No special requirements
Platforms: Linux
Keyword: Dlg Libraries Name Oo Perl Perl Gimp Kit Pgk Programming Value Widget
Users rating: 0/10

License: Freeware Size: 7.17 KB
PGK RELATED
Libraries  -  SQL::Generator 0.02
SQL::Generator is a Perl module to generate SQL-statements with oo-perl. SYNOPSIS use SQL::Generator; With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of...
13.31 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  Net::DNS::ValueDomain::DDNS 0.02
Net::DNS::ValueDomain::DDNS is a Perl module to update your Value-Domain (https://www.value-domain.com/) DynamicDNS records. SYNOPSIS use Net::DNS::ValueDomain::DDNS; # Normal usage my $ddns = Net::DNS::ValueDomain::DDNS->new;...
11.26 KB  
Libraries  -  Gtk2::Ex::PopupWindow 0.06
Gtk2::Ex::PopupWindow provides a Perl interface to the Mozilla embedding widget. Synopsys #!/usr/bin/perl use strict; use warnings; use Glib qw(TRUE FALSE); use Gtk2 -init; use Gtk2::MozEmbed; Gtk2::MozEmbed -> set_profile_path($ENV{...
21.5 KB  
Libraries  -  DNS::Zone 0.85
DNS::Zone contains a collection of Perl modules which provide an abstraction of name service zones as well as server specific adaptors for concrete file representations. The modules origin is the ZoneMaster project which make heavy use of the...
8.19 KB  
Libraries  -  C::DynaLib 0.55
C::DynaLib is a Perl interface to C compiled code. SYNOPSIS use C::DynaLib; use sigtrap; # recommended $lib = new C::DynaLib( $linker_arg ); $func = $lib->DeclareSub( $symbol_name [, $return_type [, @arg_types] ] ); # or $func =...
35.84 KB  
Libraries  -  XAO::DO::Web::MenuBuilder 1.07
XAO::DO::Web::MenuBuilder is a Perl module for building all sorts of menus. SYNOPSIS <...
11.26 KB  
Libraries  -  DNS::Config 0.66
DNS::Config is a Perl module with DNS Configuration. SYNOPSIS use DNS::Config; my $config = new DNS::Config(); $config->debug(); ABSTRACT This class represents a configuration for a domain name service daemon (DNS). A domain name...
14.34 KB  
Libraries  -  Imager::Color 0.54
Imager::Color is a Perl module with color handling for Imager. SYNOPSIS $color = Imager::Color->new($red, $green, $blue); $color = Imager::Color->new($red, $green, $blue, $alpha); $color = Imager::Color->new("#C0C0FF"); # html color...
849.92 KB  
Libraries  -  HTML::CalendarMonthDB 1.01
HTML::CalendarMonthDB is a Perl Module for Generating Persistant HTML Calendars. INTERFACE METHODS * dbname (name of database to use, required if you wish to use a database) * dbuser (database user, default nobody) * dbpass (database user...
24.58 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