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

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net

System.Glib.GList

Description

Defines functions to extract data from a GList and to produce a GList from a list of pointers.

  • The same for GSList.

Documentation

type GList = Ptr ()

readGList :: GList -> IO [Ptr a]

fromGList :: GList -> IO [Ptr a]

toGList :: [Ptr a] -> IO GList

withGList :: [Ptr a] -> (GSList -> IO b) -> IO b

type GSList = Ptr ()

readGSList :: GSList -> IO [Ptr a]

fromGSList :: GSList -> IO [Ptr a]

fromGSListRev :: GSList -> IO [Ptr a]

toGSList :: [Ptr a] -> IO GSList

withGSList :: [Ptr a] -> (GSList -> IO b) -> IO b