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

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

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 ()

toGSList :: [Ptr a] -> IO GSList

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