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

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | Safe-Inferred
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 () Source #

readGList :: GList -> IO [Ptr a] Source #

fromGList :: GList -> IO [Ptr a] Source #

toGList :: [Ptr a] -> IO GList Source #

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

type GSList = Ptr () Source #

readGSList :: GSList -> IO [Ptr a] Source #

fromGSList :: GSList -> IO [Ptr a] Source #

fromGSListRev :: GSList -> IO [Ptr a] Source #

toGSList :: [Ptr a] -> IO GSList Source #

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