.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Version $Revision: 0.1 $ from $Date: 2010/05/25 14:07:21 $ .\" .TH GTK2HSTYPEGEN 1 .SH NAME gtk2hsTypeGen \- Program to generate Gtk's object hierarchy in Haskell .SH SYNOPSIS .B gtk2hsTypeGen .RB [\| \-\-tag\|\c .RI \|= tag \ ...] .RB [\| \-\-lib\|\c .RI \|= lib \|] .RB [\| \-\-prefix\|\c .RI \|= prefix \|] .RB [\| \-\-modname\|\c .RI \|= modName \|] .RB [\| \-\-import\|\c .RI \|=[*] importName \ ...] .RB [\| \-\-forward\|\c .RI \|=[*] fwdName \ ...] .RB [\| \-\-destructor\|\c .RI \|= destrName \|] .RB [\| \-\-hierarchy\|\c .RI \|= hierName \|] .SH DESCRIPTION This manual page briefly describes the .B gtk2hsTypeGen command. It's a helper program necessary to build the Gtk2Hs suite of libraries. .PP .SH OPTIONS 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. .B gtk2hsTypeGen accepts the following options: .TP .BI \-\-tag= tag generate entries that have the tag .I tag. Specify `default' for types without tags .TP .BI \-\-lib= lib set the lib to use in the c2hs {#context #} declaration (the default is `gtk') .TP .BI \-\-prefix= prefix set the prefix to use in the c2hs {#context #} declaration (the default is `gtk') .TP .BI \-\-modname= modName specify module name if it does not match the file name, eg a hierarchical module name .TP .BI \-\-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. .TP .BI \-\-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. .TP .BI \-\-destructor= destrName specify a non-standard C function pointer that is called to destroy the objects .TP .BI \-\-hierarchy= hierName the name of the file containing the hierarchy list, defaults to the built-in list .SH "BUGS" Please report bugs and feature requests in the Gtk2Hs trac .I http://hackage.haskell.org/trac/gtk2hs/ or to the Gtk2Hs mailing list .I gtk2hs-devel@lists.sourceforge.net .SH AUTHOR This page was addapted from the \fBgtk2hsHookGenerator\fR(1) manpage, by Marco TĂșlio Gontijo e Silva for the Debian GNU/Linux system (but may be used by others).