System.Glib.GValueTypes

glib-0.13.2.2: Binding to the GLIB library for Gtk2Hs.

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

System.Glib.GValueTypes

Description

This is used by the implementation of properties and by the `TreeModel` and related modules.

# Documentation

valueSetUInt :: GValue -> Word -> IO ()

valueGetUInt :: GValue -> IO Word

valueSetInt :: GValue -> Int -> IO ()

valueGetInt :: GValue -> IO Int

valueSetUInt64 :: GValue -> Word64 -> IO ()

valueGetUInt64 :: GValue -> IO Word64

valueSetInt64 :: GValue -> Int64 -> IO ()

valueGetInt64 :: GValue -> IO Int64

valueSetBool :: GValue -> Bool -> IO ()

valueGetBool :: GValue -> IO Bool

valueSetPointer :: GValue -> Ptr () -> IO ()

valueGetPointer :: GValue -> IO (Ptr ())

valueSetFloat :: GValue -> Float -> IO ()

valueGetFloat :: GValue -> IO Float

valueSetDouble :: GValue -> Double -> IO ()

valueGetDouble :: GValue -> IO Double

valueSetEnum :: Enum enum => GValue -> enum -> IO ()

valueGetEnum :: Enum enum => GValue -> IO enum

valueSetFlags :: Flags flag => GValue -> [flag] -> IO ()

valueGetFlags :: Flags flag => GValue -> IO [flag]

valueSetString :: GlibString string => GValue -> string -> IO ()

valueGetString :: GlibString string => GValue -> IO string

valueSetMaybeString :: GlibString string => GValue -> Maybe string -> IO ()

valueGetMaybeString :: GlibString string => GValue -> IO (Maybe string)

valueSetFilePath :: GlibFilePath string => GValue -> string -> IO ()

valueGetFilePath :: GlibFilePath string => GValue -> IO string

valueSetMaybeFilePath :: GlibFilePath string => GValue -> Maybe string -> IO ()

valueGetMaybeFilePath :: GlibFilePath string => GValue -> IO (Maybe string)

valueSetBoxed :: (boxed -> (Ptr boxed -> IO ()) -> IO ()) -> GValue -> boxed -> IO ()

valueGetBoxed :: (Ptr boxed -> IO boxed) -> GValue -> IO boxed

valueSetGObject :: GObjectClass gobj => GValue -> gobj -> IO ()

valueGetGObject :: GObjectClass gobj => GValue -> IO gobj

valueSetMaybeGObject :: GObjectClass gobj => GValue -> Maybe gobj -> IO ()

valueGetMaybeGObject :: GObjectClass gobj => GValue -> IO (Maybe gobj)