haskell-gi-base-0.21.3: Foundation for libraries generated by haskell-gi

Safe HaskellNone
LanguageHaskell98

Data.GI.Base.GObject

Synopsis

Documentation

constructGObject :: forall o m. (GObject o, MonadIO m) => (ManagedPtr o -> o) -> [AttrOp o AttrConstruct] -> m o Source #

Construct a GObject given the constructor and a list of settable attributes.

new' :: (MonadIO m, GObject o) => (ManagedPtr o -> o) -> [IO (GValueConstruct o)] -> m o Source #

Construct the given GObject, given a set of actions constructing desired GValues to set at construction time.