Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- genInterfaceProperties :: Name -> Interface -> CodeGen ()
- genObjectProperties :: Name -> Object -> CodeGen ()
- genNamespacedPropLabels :: Name -> [Property] -> [Method] -> CodeGen ()
Documentation
genNamespacedPropLabels :: Name -> [Property] -> [Method] -> CodeGen () Source #
Generate gtk2hs compatible attribute labels (to ease
porting). These are namespaced labels, for examples
widgetSensitive
. We take the list of methods, since there may be
name clashes (an example is Auth::is_for_proxy method in libsoup,
and the corresponding Auth::is-for-proxy property). When there is a
clash we give priority to the method.