man eglade (Commandes) - Eiffel class generator for glade

NAME

eglade - Eiffel class generator for glade

SYNOPSIS

eglade [glade_file]

DESCRIPTION

Eglade translates a Glade XML file into Eiffel classes which may be compiled by SmallEiffel or another supported compiler into an executable program.

The generated classes inherit from eGTK classes to provide the X functionality.

The XML file must either be named on the command line or supplied on standard input.

After generation of the Eiffel classes, they should be compiled with egtkbuild.

USAGE

Eglade is normally called by selecting Eiffel as the glade build type and clicking on build in the glade top-level window.

GENERATED CLASSES

The root class generated has the same name as the Glade program name, or its project name if the program name is not defined (the usual case).

Generated classes are of two main kinds: those that will be preserved if the project is regenerated, and those that will be overwritten. Alterations to the program code should be made only in the classes that will be preserved. These are CUSTOMISATION and all signal handlers. CUSTOMISATION contains a feature begin that may be used for any operations to be done at the start of the program, just before the GTK+ main loop is called.

ERRORS

Glade does not enforce unique names in its objects. Eglade will rename classes where possible; if it is not possible, eglade will terminate with exit status 2 and a message to standard error.

All GTK+ classes are supported, but Gnome classes are not.

FILES

The files used are determined by the definitions in the XML file. By default, this will have the generated source put in ./src.

SEE ALSO

eGTK

- Eiffel encapsulation of GTK+.

SmallEiffel - The GNU Eiffel compiler

egtkbuild(1), glade(1), compile(1), compile_to_c(1)

AUTHOR

Eglade was mostly written by Daniel Elphick <dre00r@ecs.soton.ac.uk>, with amendments and extensions by Oliver Elphick <olly@lfix.co.uk>.