The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-').
A summary of options are included below. For a complete description, see the other documentation.
gtk2hsTypeGen accepts the following options:
--tag=tag
generate entries that have the tag tag. Specify `default' for types without tags
--lib=lib
set the lib to use in the c2hs {#context #} declaration (the default is `gtk')
--prefix=prefix
set the prefix to use in the c2hs {#context #} declaration (the default is `gtk')
--modname=modName
specify module name if it does not match the file name, eg a hierarchical module name
--import="[*]"importName
additionally import this module without re-exporting it. Use an asterix as prefix if the import
should be a .chs import statement, as well as exported from the generated module.
--forward="[*]"fwdName
specify a number of modules that are imported. Use an asterix as prefix if the import should be
a .chs import statement, as well as exported from the generated module.
--destructor=destrName
specify a non-standard C function pointer that is called to destroy the objects
--hierarchy=hierName
the name of the file containing the hierarchy list, defaults to the built-in list