Hi Sunburned, Good questions. To answer one by one: (1) Currently this is not possible. The GTK-server will try to find a function in the GTK-libraries. The name of the library must be defined in the "gtk-server.cfg" file, with the setting "GTK_LIB_NAME". Right now, only 1 GTK-library can be specified. Actually I think this is a nice option for the near future: opening additional GTK libraries. Then also non-standard GTK widgets can be used. I already ran into problems myself with the OpenGL extension to GTK: http://gtkglext.sourceforge.net/ So right now, I cannot use these widgets (yet). But I will look into it. (2) Indeed I am the sole maintainer. But that is because I still did not setup a CVS tree. Feel free to contribute improvements or additions anyway, like many others already have done before. Note that the GTK-server is written using ANSI C (compiled with the -pedantic flag), and not C++. (3) This question was asked before. Indeed this would be nice - an XML compatibility with the GTK-server. Manually desiging the GUI is a tedious thing to do. Note that James Bailey already has done such a thing, using CLisp. You can find his interesting Lisp programs at http://dgym.homeunix.net/clisp-gtk2/ Especially the file "gtk-glade.lisp" is a source of wisdom. According to James this program "...exports glade-parse, which takes an xmls representation of a glade save file, and generates all the widgets based on that information." A similar thing can be done with newLisp, I am sure. Maybe a nice challenge for you; it would be a major contribution to the newLisp community! Regards Peter Citeren Sunburned Surveyor <sunburned.surveyor@xxxxxxxxx>: > Thanks for the answers Peter! I appreciate your assistance and this great > tool! > > I was able to find my .cfg file. > > I had a few more questions for you: > > (1) How would I go about adding access to a 3rd party or custom GTK > widget to the GTK Server. For example: > http://www.mozilla.org/unix/gtk-embedding.html > > (2) Are you the sole maintainer of the GTK-Server? I hope I can > contribute in the future, although I'm just beginning to learn C++. > > (3) Can you use Glade to assemble you GTK GUI and then call the > methods with newLISP via the GTK-Server? I am wondering if there is a > way to integrate Glade with the GTK-Server. I've managed to get Glade > installed on Windows, and it looks like a useful GUI Builder for GTK. > I hope I can use it. > > Thanks, > > Landon > > > On Thu, 20 Jan 2005 23:28:15 +0100, Peter van Eerten > <administrator@xxxxxxxxxxxxxx> wrote: > > Hi Sunburned Surveyor, > > > > Welcome to the GTK-server mailinglist! > > > > With a default GTK-server installation on Windows, you will find the > > "gtk-server.exe" binary and the "gtk-server.cfg" file in the directory: > > > > c:\GTK-server\ > > > > If you cannot see this configfile, maybe your Windows Explorer is hiding > files > > with a ".cfg" extension. If this is not the case, please download the > latest > > configfile from > > > > http://www.gtk-server.org/gtk-server.cfg > > > > ...and place it in the c:\GTK-server\ directory. > > > > So to answer your question: the gtk-server configfile is not created by > script, > > but it already comes with the installer. The programmer (that is you) is > free to > > add or adjust any GTK functions in this configfile. > > > > You also will find newLisp demo programs in the "\demo" subdirectory of the > > GTK-server installation. These demo programs use the extension ".lsp". > > > > Please let me know if you still experience problems with the gtk-server.cfg > > file. > > > > Regards > > > > Peter > > > > Citeren Sunburned Surveyor <sunburned.surveyor@xxxxxxxxx>: > > > > > The FAQ on the GTK - Server has the following section: > > > > > > " Q: I want to use other GTK functions than mentioned in your configfile! > > > A: Please read my 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! > > > " > > > > > > I checked the tutorial, which is unfortunately geared towards Linux > > > users and written with AWK, a scripting language that I am unfamiliar > > > with. > > > > > > It appears that the gtk-server.cfg file is created by the script that > > > will be using the GTK-Server. Is this correct? If it is correct, and I > > > do want to add an additional GTK function to my config file, do I need > > > to do it in the script calling the extra function? (I checked the > > > GTK-Server installation folder on my nard-drive and wasn't able to > > > find gth-server.cfg, so I'm guessing it is generated at runtime.) > > > > > > The manual does have a section that explains how to add the text > > > necessary to enable a GTK function, but I couldn't discern the answers > > > to the above questions. > > > > > > I have a Windows 2000 operating system, and I'm using the latest > > > version of GTK and the GTK-Server available on the GTK-Server website. > > > My scripting language is newLisp. > > > > > > I'm trying to get a handle on how newLisp works with GTK server before > > > I get started with some GUI programming. > > > > > > I apologize in advance for my "windows-user" ignorance, and promise to > > > collect my notes on newLisp/GTK-Server programming so I can write some > > > better documentation for GTK-Server users that want to work with > > > GTK-Server and newLisp on a Windows environment. > > > > > > The Sunburned Surveyor > > > > > > > > > > > > -- > > http://www.gtk-server.org > > > > > > -- http://www.gtk-server.org