.TH <Tool> 1 "January 2002"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
zoggy \- LablGTK interface builder for Objective CAML
.SH SYNOPSIS
.B zoggy
.RI FILE
.br
.B zoggy
.RI --help
.PP
.B zoggy.opt
.I (same options)
.SH DESCRIPTION
.B zoggy
is an interface builder for Objective CAML that outputs
LablGTK code. LablGTK is the set of Objective CAML bindings for
the Gimp ToolKit.
.br
.PP
.B zoggy
is used interactively to build or modify a graphical interface
that is usually saved in a .zog file. This .zog file contains an
xmlish representation of the interface.
.PP
FILE argument is the file which contains the representation of
the graphical interface, this argument is mandatory, if the file
does not exists it will be created.
.PP
When you have completed the interface you can generate the
LablGTK OCaml code using camlp4 as follows:
.PP
.Vb 6
\&    $ camlp4o pa_zog.cma pr_o.cmo -impl foo.zog > foo.ml
.Ve
.PP
where foo.zog is the file containing your interface and foo.ml is
the file that will contains the LablGTK OCaml classes that
implement your interface.
.PP
You can also compile directly the graphical interface using:
.PP
.Vb 6
\&    $ ocamlc -pp "camlp4o pa_zog.cma -impl " -impl foo.zog
.Ve
.PP
where foo.zog is the file containing your interface. The build
process will generate standard foo.cmi and foo.cmo files.
.SH OPTIONS
The only relevant option that is currently supported by zoggy is:
.TP
.B \-help, \-\-help
Display the list of options.
.SH SEE ALSO
.BR camlp4 (1),
.BR ocamlc (1).
.br
.SH AUTHOR
This manual page was written by Stefano Zacchiroli <zack@debian.org>,
for the Debian GNU system (but may be used by others).

