Safe Haskell | None |
---|---|
Language | Haskell98 |
- genInterfaceProperties :: Name -> Interface -> CodeGen ()
- genObjectProperties :: Name -> Object -> CodeGen ()
- genNamespacedPropLabels :: Name -> [Property] -> [Method] -> CodeGen ()
Documentation
genInterfaceProperties :: Name -> Interface -> CodeGen () Source
genObjectProperties :: Name -> Object -> CodeGen () Source
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.