Name

GValue —

This module implements only the necessities for the GTK binding.

Synopsis

type
        GValue
data
        GenericValue
valueInit:: GValue -> GType -> IO ()
valueUnset:: GValue -> IO ()

Introduction

Everything here is only used by TreeStore and friends.

Datatypes

type GValue

GValuePtr (GenericValue)

data GenericValue

A union with information about the currently stored type.

data GenericValue =GVboolean Bool
| GVboxed (Ptr ())
| GVchar (CChar)
| GVdouble Double
| GVenum Int
| GVflags Int
| GVfloat Float
| GVint (CInt)
| GVobject GObject
| GVpointer (Ptr ())
| GVstring (Maybe String)
| GVuchar (CUChar)
| GVuint (CUInt)

Internally used by TreeStore.

Functions

valueInit

Clear a GValue.

valueInit:: GValue:: GType:: IO ()
gvgt

valueUnset

Free the data in a GValue.

valueUnset:: GValue:: IO ()