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

Safe HaskellNone
LanguageHaskell98

Data.GI.Base.GValue

Synopsis

Documentation

newtype GValue Source #

Constructors

GValue (ManagedPtr GValue) 

class IsGValue a where Source #

Minimal complete definition

toGValue, fromGValue

Instances

IsGValue Bool Source # 
IsGValue Double Source # 
IsGValue Float Source # 
IsGValue Int32 Source # 
IsGValue Int64 Source # 
IsGValue Word32 Source # 
IsGValue Word64 Source # 
IsGValue CInt Source # 
IsGValue CUInt Source # 
IsGValue CLong Source # 
IsGValue CULong Source # 
IsGValue GType Source # 
IsGValue (Maybe String) Source # 
IsGValue (Maybe Text) Source # 
IsGValue (Ptr a) Source # 

buildGValue :: GType -> (GValue -> a -> IO ()) -> a -> IO GValue Source #

data GValueConstruct o Source #

A type holding a GValue with an associated label. It is parameterized by a phantom type encoding the target type for the GValue (useful when constructing properties).

set_object :: GObject a => GValue -> Ptr a -> IO () Source #

set_boxed :: GValue -> Ptr a -> IO () Source #