haskell-gi-base-0.26.0: Foundation for libraries generated by haskell-gi
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.GI.Base.Properties

Synopsis

Documentation

setObjectPropertyIsGValueInstance :: (GObject a, IsGValue b) => a -> String -> b -> IO () Source #

Set a property for a type with a IsGValue instance.

setObjectPropertyPtr :: GObject a => a -> String -> Ptr b -> IO () Source #

setObjectPropertyObject :: forall a b. (GObject a, GObject b) => a -> String -> Maybe b -> IO () Source #

setObjectPropertyBoxed :: forall a b. (GObject a, GBoxed b) => a -> String -> Maybe b -> IO () Source #

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

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

setObjectPropertyClosure :: forall a b. GObject a => a -> String -> Maybe (GClosure b) -> IO () Source #

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

setObjectPropertyGError :: forall a. GObject a => a -> String -> Maybe GError -> IO () Source #

Set a property of type GError.

setObjectPropertyGValue :: forall a. GObject a => a -> String -> Maybe GValue -> IO () Source #

Set a property of type GValue.

getObjectPropertyIsGValueInstance :: forall a b. (GObject a, IsGValue b) => a -> String -> IO b Source #

Get a nullable property for a type with a IsGValue instance.

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

getObjectPropertyBoxed :: forall a b. (GObject a, GBoxed b) => a -> String -> (ManagedPtr b -> b) -> IO (Maybe b) Source #

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

getObjectPropertyFlags :: forall a b. (GObject a, IsGFlag b, BoxedFlags b) => a -> String -> IO [b] Source #

getObjectPropertyClosure :: forall a b. GObject a => a -> String -> IO (Maybe (GClosure b)) Source #

getObjectPropertyCallback :: GObject a => a -> String -> (FunPtr b -> c) -> IO (Maybe c) Source #

getObjectPropertyGError :: forall a. GObject a => a -> String -> IO (Maybe GError) Source #

Get the value of a property of type GError.

getObjectPropertyGValue :: forall a. GObject a => a -> String -> IO (Maybe GValue) Source #

Get the value of a property of type GValue.

constructObjectPropertyIsGValueInstance :: IsGValue b => String -> b -> IO (GValueConstruct o) Source #

Construct a property for a type with a IsGValue instance.