Index of /~pcj/eiffel-gtk
Name Last modified Size Description
Parent Directory 26-Oct-1999 17:35 0k
eiffel-gtk-0.01.tar.gz 14-Jan-1999 00:45 201k
eiffel-gtk-0.02.tar.gz 18-Jan-1999 14:19 208k
eiffel-gtk-0.03.tar.gz 14-Feb-1999 00:18 209k
eiffel-gtk.tar.gz 14-Feb-1999 00:18 209k Latest version
This is eiffel-gtk 0.03.
Eiffel-gtk is software to create GUI programs with the GUI toolkit
gtk+, available from http://www.gtk.org, and SmallEiffel, the GNU
Eiffel compiler, available from http://www.loria.fr/projets/SmallEiffel/
This software has been developed and tested with gtk+-1.1.15 and
SmallEiffel -0.79. It will not work with gtk+ below 1.1.8.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Alternatively:
You may redistribute and/or modify this program under the terms of
the Mozilla Public License, available at
http://www.mozilla.org/NPL/MPL-1.0.html, or in the COPYING.mpl
file which you should have received along with this software.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This work is Copyright (C) 1999 Paul C. Janzen, Francois Pennaneach,
and others.
=======
How to compile with eiffel-gtk:
0. Make and install gtk+. Be sure that gtk-config is on your $PATH
and that the GTK+ library directory is either on your $LD_LIBRARY_PATH
or mentioned in /etc/ld.so.conf.
1. Run make in gtkwrapper/external to compile the C utility functions.
2. Create the loadpath.se file in the directory with your sources. It
should look something like this:
./
/path/to/eiffel-gtk/gtkwrapper/
/path/to/eiffel-gtk/gtkwrapper/constants/
3. Create the gtk_cecil file. It should look like this:
gtk_eiffel.h
gtk_eiffel_entry GTK_COMMAND_TYPE marshal
gtk_timer_entry GTK_TIMEOUT_COMMAND command_execution
(You can skip the last line if you code doesn't include any gtk_timer
or gtk_idle objects.)
4. Compile your program as follows:
compile <class> <root> [eiffel-flags] -cecil gtk_cecil \
-o program_name \
-L/path/to/eiffel-gtk/gtkwrapper/external -leiffel-gtk \
`gtk-config --libs`
That's it! For more details, see the examples in the examples
and testgtk directories.
=======
Acknowledgements:
This work is based on Francois Penneneach's eiffel-gtk. I would like
to thank him for letting me use and extend his code. All errors are
my own, however.
Thanks to Joe Chott for lending me time on an Alpha to check 64-bit
correctness.
=======
Eiffel-gtk specific problems: Please report to the eiffel-gtk list at
eiffel-gtk-discuss@egroups.com.
General GTK problems should be reported to the GTK mailing list,
gtk-list@redhat.com. You will have to subscribe before posting,
see http://www.gtk.org/mailinglists.html for details.
Alternatively, you can reach me directly at pcj+eiffel@primenet.com.
=======