Gtk2HsContentsIndex
System.Glib.GValue
Description

This module implements only the necessities for the GTK binding.

  • Everything here is only used by TreeStore and friends.
Synopsis
data GenericValue
= GVuint CUInt
| GVint CInt
| GVuchar CUChar
| GVchar CChar
| GVboolean Bool
| GVenum Int
| GVflags Int
| GVpointer (Ptr ())
| GVfloat Float
| GVdouble Double
| GVstring (Maybe String)
| GVobject GObject
| GVboxed (Ptr ())
type GValue = Ptr GenericValue
valueInit :: GValue -> GType -> IO ()
valueUnset :: GValue -> IO ()
Documentation
data GenericValue

A union with information about the currently stored type.

  • Internally used by TreeStore.
Constructors
GVuint CUInt
GVint CInt
GVuchar CUChar
GVchar CChar
GVboolean Bool
GVenum Int
GVflags Int
GVpointer (Ptr ())
GVfloat Float
GVdouble Double
GVstring (Maybe String)
GVobject GObject
GVboxed (Ptr ())
Instances
Storable GenericValue
type GValue = Ptr GenericValue
valueInit :: GValue -> GType -> IO ()
Clear a GValue.
valueUnset :: GValue -> IO ()
Free the data in a GValue.
Produced by Haddock version 0.6