haskell-gi-base-0.26.6: Foundation for libraries generated by haskell-gi
Safe HaskellNone
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 #

setObjectPropertyEnum :: (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 #

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

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

Set a property of type GError.

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

Set a property of type GValue.

setObjectPropertyParamSpec :: GObject a => a -> String -> Maybe GParamSpec -> IO () Source #

Set a property of type GParamSpec.

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

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

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

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

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

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

Get the value of a property of type GError.

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

Get the value of a property of type GValue.

getObjectPropertyParamSpec :: GObject a => a -> String -> IO (Maybe GParamSpec) Source #

Get a property of type GParamSpec.

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

Construct a property for a type with a IsGValue instance.