FXPy
Details
| Size: | 0K |
| Last Update: | 2008-07-03 21:08:54 |
| Version: | 1.0.5 |
| OS Support: | Linux |
| License/Program Type: | GPL (GNU General Public License) |
| Publisher: | Lyle Johnson |
| Price: | $0.00 |
Description:
FXPy 1.0.5 is libraries software developed by Lyle Johnson.
FXPy is a Python extension module which provides an interface to the FOX cross-platform GUI library.
The FXPy API follows the standard FOX API very closely and for the most part you can use FOX documentation as a reference. But of course, Python isn't C++ and so here are some differences of which you should be know.
Any function which usually takes an FXString as an input instead takes a Python string. Similarly, functions which usually return an FXString will instead return a Python string. For functions which would accept a NULL or empty string argument, just pass an empty string ("") or None.
In FOX, message maps are defined as static class members. In FXPy, you just associate messages with message handlers in the class constructor using the FXMAPFUNC(), FXMAPTYPE(), FXMAPTYPES() or FXMAPFUNCS() methods. See almost any of the example programs for examples of how this is done.
As in C++ FOX, the last argument passed to your message handler functions contains message-specific data. For instance, all SEL_PAINT messages pass an FXEvent object through this argument to give you some information about the size of the exposed rectangle. On the other hand, a SEL_COMMAND message from an FXHeader object passes the index of the selected header item through this argument. Instead of guessing what's in this last argument, your best bet is to instead invoke a member function on the sending object to find out what you need, instead of relying on the data passed through this pointer.
For example, if you get a SEL_COMMAND message from an FXColorWell object, the data passed through that last argument is supposed to be the new RGB color value. Instead of trying to interpret the argument's contents, just turn around and call the color well's getRGBA() member function to retrieve its color. Similarly, if you get a SEL_COMMAND message from a tree list, call its getCurrentItem() method to find out which item was selected.
FXPy 1.0.5 supports different languages (including english). It works with Linux.
Downloading FXPy 1.0.5 will take if you use fast ADSL connection.
0 comments
Add to
FXPy Version History
Related Software
|
|
From category: Libraries |
| DBIx::Simple::Examples 1.26 is libraries software developed by Juerd Waalboer. [COPRIGHT=1] EXAMPLES General !/usr/bin/perl -w use strict; use DBIx::Simple;\... |
|
|
From category: Libraries |
| AI::ExpertSystem::Simple 1.2 is libraries software developed by Peter Hickman. AI::ExpertSystem::Simple is a simple expert system shell. SYNOPSIS This class implements a simple expert... |
|
|
From category: Interpreters |
| Arena Scripting Language 0.9.9 is interpreters software developed by Pascal Schmidt. Arena Scripting Language is a light-weight scripting language. The language uses a syntax and library similar to... |
|
|
From category: Libraries |
| ALSA driver is an alternative implementation of Linux sound support.... |
|
|
From category: Libraries |
| libft is an open source version of the fischertechnik ROBO Interface Library for Unix like system.... |
|
|
From category: Perl-Modules |
| WWW::Velib::Trip is a Perl module that contains details of a single trip made on the Velib system.... |
|
|
From category: Debuggers |
| EDB (Evan\'s Debugger) is a QT4 based binary mode debugger with the goal of having usability on par with OllyDbg.... |
|
|
From category: Libraries |
| Data::Encrypted 0.07 is libraries software developed by Aaron J Mackey. Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS functional interfa... |
|
|
From category: Libraries |
| Audio::DB::Web 0.01 is libraries software developed by Todd Harris. Audio::DB::Web is a Perl module that assists in web-based queries of an MP3 Database. SYNOPSIS use Audio::DB::Web... |
|
|
From category: Version-Control |
| Bky 1.0.0 is version control software developed by Angel Ortega. Bky is a minimalistic, distributed Version Control System/Source Code Management tool. Bky uses rsync as a backend to store revision... |
|
|
From category: Libraries |
| AudioFile::Info::MP3::Info 1.03 is libraries software developed by Dave Cross. AudioFile::Info::MP3::Info is a Perl extension to get info from MP3 files. This is a plugin for AudioFile::Info... |
|
|
From category: Libraries |
| Data::TreeDumper::Renderer::GTK 0.01 is libraries software developed by Khemir Nadim ibn Hamouda. Data::TreeDumper::Renderer::GTK is a Gtk2::TreeView renderer for Data::TreeDumper. SYNOPSIS\... |
|
|
From category: Libraries |
| dANN 0.1-alpha-RC2 (Java) is libraries software developed by Jeffrey Phillips Freeman. dANN is a library to help create artificial neural networks within other programs. It is currently written in... |
|
|
From category: Quality-Assurance-and-Testing |
| Datamixer 0.1.88 is quality assurance and testing software developed by Rick Wood. How do you build a web application without data? Suppose it has many pages, including forms and pages for display.... |
|
|
From category: Libraries |
| Class::Meta::Type 0.53 is libraries software developed by David Wheeler. Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::T... |
Leave a comment