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

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

System.Glib.GValueTypes

Description

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

# Documentation

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

valueGetUInt :: GValue -> IO Word Source

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

valueGetInt :: GValue -> IO Int Source

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

valueGetUInt64 :: GValue -> IO Word64 Source

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

valueGetInt64 :: GValue -> IO Int64 Source

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

valueGetBool :: GValue -> IO Bool Source

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

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

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

valueGetFloat :: GValue -> IO Float Source

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

valueGetDouble :: GValue -> IO Double Source

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

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

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

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

valueSetString :: GValue -> String -> IO ()Source

valueGetString :: GValue -> IO String Source

valueSetMaybeString :: GValue -> Maybe String -> IO ()Source

valueGetMaybeString :: GValue -> IO (Maybe String)Source

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

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

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

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

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

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