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

Safe HaskellNone
LanguageHaskell98

Data.GI.Base.Properties

Synopsis

Documentation

new :: forall o m. (GObject o, MonadIO m) => (ForeignPtr o -> o) -> [AttrOp o AttrConstruct] -> m o Source

Construct a GObject given the constructor and a list of settable attributes. AttrOps are always constructible, so we don't need to enforce constraints here.

data PropertyNotify s propName constraint where Source

Proxy for "notify::property-name" signals.

Constructors

PropertyNotify :: KnownSymbol propName => proxy propName -> PropertyNotify "notify::[property]" propName (HasAttr propName) 

data GObjectNotifySignalInfo Source

Connection information for a "notify" signal indicating that a specific property changed (see PropertyNotify for the relevant constructor).

setObjectPropertyObject :: (GObject a, GObject b) => a -> String -> b -> IO () Source

setObjectPropertyEnum :: (GObject a, Enum b, BoxedEnum b) => a -> String -> b -> IO () Source

setObjectPropertyFlags :: (IsGFlag b, GObject a) => a -> String -> [b] -> IO () Source

setObjectPropertyHash :: GObject a => a -> String -> b -> IO () Source

getObjectPropertyObject :: forall a b. (GObject a, GObject b) => a -> String -> (ForeignPtr b -> b) -> IO b Source

getObjectPropertyBoxed :: forall a b. (GObject a, BoxedObject b) => a -> String -> (ForeignPtr b -> b) -> IO b Source

getObjectPropertyEnum :: forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b Source