System.Glib.GList

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 | Safe
Language | Haskell98

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