 |
GTK-server |
| version 2.2 build 6 |
| 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 6 |
. Added demoscript with the Poppler library, added demoscripts demonstrating HUG
. Stopscript now also can show current running GTK-server processes
. Added configurescript options to specify sourcetree locations
. Option 'showconf' also shows defined macros
. New: 'gtk_server_require' to test actual availability of libraries and define libraries on-the-fly
. Fixed bug: compilation with C/Invoke did not open XForms library
. Code improvements in the macroparser
. Major improvements in the GUI abstraction layer "HUG"
. Macros can define associative arrays with ASSOC, retrieve values with GET
. Fixed configurescript complaints about missing 'datarootdir'
. Logdirectory definition removed from configfile, now specify logdir as argument '-log=/dir/file', better consistency with other options, and GTK-server can function completely without configfile
. Macros: added DEBUG to print contents of macrovariables in logfile
. Static compilation also possible for XForms now
. Fixed duplicate hash-value which occurs in rare situations
. Compilation with 'TCC' possible (export CC=tcc)
. Fixed minor bug: when using GTK-server as shared object and enabling logging
|
|
|