EuGTK is a wrapper allowing the Euphoria programming language to use GTK 2.x on the Linux platform. Euphoria is available from http://rapideuphoria.com.
include gtk2/wrapper.e
to
your Euphoria program, the routines in these files are
automatically made available.
You will, of course, need to have the following GTK libraries installed. Look for them in /usr/lib:
The above are installed automatically when you
install Mandrake 9.2 and the Gnome desktop, and probably are supplied
with RedHat and other Linux distros as well.
If you do not have these exact versions,
open the file $HOME/euphoria/include/gtk2/wrapper.e
and change them to match what you have available.
Nothing earlier than 2.0 can be expected to work,
of course.
Forget about it!
There are no makefiles,
no pkg-config,
no need for pre-compiled 'wrapper' code.
Every part of this package is in human-readable
plain text, and you will write your programs in
plain text, then just click and run.
You should *always* test your programs by running
them from an x-term! By doing that, you will
be able to see any error messages.
Later, of course, you can set up your window
manager to automatically run *.exu programs using
euphoria, and/or you can make something like
#!/home/irv/euphoria/bin/exu
the first line of your program, and set the
source to be executable.
It helps greatly if you have 'gmessage'
installed. EuGTK uses gmessage (if available)
to display diagnostics.
Let me repeat that:
You should also have a $BROWSER environment variable set to point to your favorite web browser. Help files and diagnostics are presented using the specified browser.
If you encounter problems or have questions about the use of this package, please e-mail: eugtk@yahoo.com
Thanks to Ron Tarrant, C.K. Lester, Don Cahela, Mike Sabal and Jerry Story for help with debugging and porting to Windows.
Regards,
Irv Mullins