 |
GTK-server |
| version 2.2 build 5 |
| About GTK-server |
The GTK-server offers a stream-oriented interface to the GTK libraries, enabling access to graphical user interfaces for shellscripts and interpreted programming languages using either GTK 1.x or 2.x.
It can be compiled as a standalone binary, which is able to communicate by a 2-way pipe or by a TCP/UDP port. The script invokes this binary, sets up a pipe or a TCP/UDP connection and prints the GTK call in plain text to the pipe or socket. The GTK-server then sends information back which can be used in the program or script.
The GTK-server can also be compiled as a shared object, from which the function "gtk" can be imported. This function acts as a wrapper around plain-text GTK commands. Please refer to the demonstration programs at the GTK-server website.
Below a summary of advantages when using the GTK-server:
- No need to learn C or C++, you can stick to your favorite programming language
- No need to hack the source of existing programming languages to realize GUI programming
- High flexibility in creating GUI's, e.g. not limited to dialogs
- Full GTK API available, the user can extend the 'gtk-server.cfg' file by himself
- Access to both GTK 1.x and GTK 2.x
- Convenient GTK test tool, easy to learn GTK programming
- Mix 64-bit userinterfaces with your 32-bit client programs.
Requirements
This application requires GTK+ version 1.2.x.
Other dependencies include:
Required:
-either GTK1, GTK2 or XForms
-either Foreign Function Interface library (libFFI), the Foreign Function Call Library (FFCall) or C/Invoke.
Optional:
-libglade: the Glade library to have support for Glade XML files
-gtkglext, gtkglarea, GL, glut: libraries to have support for OpenGL
-libgtkembedmoz: library to embed the mozilla HTML rendering widget
...and any other library of your choice! |
| Latest Version: 2.2 build 5 |
. Fixed crash when no libs were defined in configfile
. Fixed crash when empty string was sent to UDP interface
. Fixed deadlock in UDP interface because hostent was never initialized properly
. Fixed static compilation: optimized code, Makefile was missing linker flag '-export-dynamic'
. Static binary does not need configfile anymore, can define GTK calls on-the-fly
. Get LONG or STRING with 'gtk_server_callback_value'
. Support for Kornshell93 library interface
. Fixed crash when empty string was sent to LIB interface
. Also show libraries and log file location with '-showconf'
. Fixed issues with removing message queues and pipefiles in stopscript
. Added support for readline with interactive STDIN interface
. Fixed crash in OpenBSD 4.3 when libs could not be found
. Removed check that WidgetID should be > 0, does not work with OpenBSD 4.3
. Improved Makefile.in and configure.in for OpenBSD
. Some minor code improvements to clear compilewarnings on OpenBSD
. Security improvements on finding configfile
. Fixed bug in c_string_escaping after redefinition of chars to be escaped
. More improvements in stopscript. Compatible with BSD-type systems now
|
|
|