haskell-gi-0.22.0: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellNone
LanguageHaskell98

Data.GI.CodeGen.Properties

Synopsis

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.