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.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 bSource

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 bSource