gio-0.12.4: Binding to the GIO.

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

System.GIO.Types

Description

This file reflects the Gtk+ object hierarchy in terms of Haskell classes.

Note: the mk... functions were originally meant to simply be an alias for the constructor. However, in order to communicate the destructor of an object to objectNew, the mk... functions are now a tuple containing Haskell constructor and the destructor function pointer. This hack avoids changing all modules that simply pass mk... to objectNew.

Documentation

newtype Vfs

Constructors

Vfs (ForeignPtr Vfs) 

class GObjectClass o => VfsClass o

Instances

toVfs :: VfsClass o => o -> Vfs

castToVfs :: GObjectClass obj => obj -> Vfs

class GObjectClass o => EmblemClass o

Instances

newtype Icon

Constructors

Icon (ForeignPtr Icon) 

class GObjectClass o => IconClass o

Instances

toIcon :: IconClass o => o -> Icon

castToIcon :: GObjectClass obj => obj -> Icon

class GObjectClass o => VolumeClass o

Instances

newtype Drive

Constructors

Drive (ForeignPtr Drive) 

class GObjectClass o => DriveClass o

Instances

toDrive :: DriveClass o => o -> Drive

castToDrive :: GObjectClass obj => obj -> Drive

newtype File

Constructors

File (ForeignPtr File) 

class GObjectClass o => FileClass o

Instances

toFile :: FileClass o => o -> File

castToFile :: GObjectClass obj => obj -> File

newtype Mount

Constructors

Mount (ForeignPtr Mount) 

class GObjectClass o => MountClass o

Instances

toMount :: MountClass o => o -> Mount

castToMount :: GObjectClass obj => obj -> Mount