Reference

zoggy(1)

LablGTK interface builder for Objective CAML

NAME

zoggy - LablGTK interface builder for Objective CAML

SYNOPSIS

zoggy FILE
zoggy --help

zoggy.opt (same options)

DESCRIPTION

zoggy is an interface builder for Objective CAML that outputs LablGTK code. LablGTK is the set of Objective CAML bindings for the Gimp ToolKit.

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.

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.

When you have completed the interface you can generate the LablGTK OCaml code using camlp4 as follows:

    $ camlp4o pa_zog.cma pr_o.cmo -impl foo.zog > foo.ml

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.

You can also compile directly the graphical interface using:

    $ ocamlc -pp "camlp4o pa_zog.cma -impl " -impl foo.zog

where foo.zog is the file containing your interface. The build process will generate standard foo.cmi and foo.cmo files.

OPTIONS

The only relevant option that is currently supported by zoggy is:

-help, --help

Display the list of options.

SEE ALSO

camlp4(1), ocamlc(1).

AUTHOR

This manual page was written by Stefano Zacchiroli <[email protected]>, for the Debian GNU system (but may be used by others).