gtk2hsContentsIndex
GObject
Description
Implements the base GObject class to satisfy the type checker.
Synopsis
objectNew :: GType -> [(String, GValue)] -> IO (Ptr GObject)
objectRef :: GObjectClass obj => Ptr obj -> IO ()
objectUnref :: Ptr a -> FinalizerPtr a
makeNewGObject :: GObjectClass obj => (ForeignPtr obj -> obj) -> IO (Ptr obj) -> IO obj
type GWeakNotify = FunPtr (Ptr () -> Ptr () -> IO ())
mkDestructor :: IO () -> IO GWeakNotify
objectWeakref :: GObjectClass o => o -> IO () -> IO GWeakNotify
objectWeakunref :: GObjectClass o => o -> GWeakNotify -> IO ()
Documentation
objectNew :: GType -> [(String, GValue)] -> IO (Ptr GObject)
objectRef :: GObjectClass obj => Ptr obj -> IO ()
objectUnref :: Ptr a -> FinalizerPtr a
makeNewGObject :: GObjectClass obj => (ForeignPtr obj -> obj) -> IO (Ptr obj) -> IO obj
type GWeakNotify = FunPtr (Ptr () -> Ptr () -> IO ())
mkDestructor :: IO () -> IO GWeakNotify
objectWeakref :: GObjectClass o => o -> IO () -> IO GWeakNotify
attach a callback that will be called after the destroy hooks have been called
objectWeakunref :: GObjectClass o => o -> GWeakNotify -> IO ()
detach a weak destroy callback function
Produced by Haddock version 0.6