Q: Can I use other libraries than GTK?
A: Yes, this is possible. For example, check out the MikMod example here.
Also libraries like libc, ncurses, OpenGL and GLUT can be used.
Q: I have tried some of your shellscripts but they do not start!
A: That is possible in case of Unix scripts connecting to the
GTK-server using STDIN. You need to set the environmentvariables
"LC_ALL" and "LD_LIBRARY_PATH". On my system for example, LC_ALL is set
to "nl_NL" and LD_LIBRARY_PATH is set to "/usr/X11R6/lib".
Q: How to use GTK's typedef enumerations with your server?
A: Every enumeration has an internal C numbering. For example, the
enumeration 'GtkWindowType' has two members: GTK_WINDOW_TOPLEVEL and
GTK_WINDOW_POPUP. The first will be numbered with '0' and the second is
numbered '1'. Now, if you want to use the GTK_WINDOW_TOPLEVEL
enumeration just use the '0' in your script.
Since GTK-server 2.2.7 it is also possible to define enumerations in the
configfile. Please read the manpage for more information.
Q: When I try to close a window, nothing happens!
A: With the new callback design, you have to connect the DELETE signal
to the window, and catch this signal in your script. You can do this in
your mainloop. After you have catched the signal, just exit GTK and the
window will disappear.
Q: I want to use other GTK functions than mentioned in your configfile!
A: Please read the tutorial carefully, and
consult the GTK site. They have excellent
documentation and tutorials. You can extend the 'gtk-server.cfg' file yourself with
the GTK functions you want to use!
Q: The GTK-server keeps crashing when I run my script!
A: Please make sure that you have the latest configfile for the gtk-server.
Q: Some SO/DLL says 'missing entry point for function'!
A: You try to run the gtk-server for GTK2 with the DLL's of GTK1 - or the other way
around. Verify that the option 'LIB_NAME' is pointing to the correct GTK libraries.
Q: What communication interface with the GTK-server is preferred?
A: The best interfaces are the LIBRARY and the STDIN interface. The other interfaces consume more
system resources and are slower.
Q: I want to create multiplatform programs with the GTK-server and I want to do it quick! Which language can I use?
A: The best choice is newLisp. It will give you full source
compatibility on different platforms, rapid development, it is easy to learn and Open Source. Furthermore it supports all
communication interfaces with the GTK-server.
Q: Why does the FIFO interface not work in Win9x/ME?
A: The Win9x/ME platforms cannot setup named pipes. This is a limitation in these operating systems, not in the GTK-server.
|