gstreamer-0.12.1.2: Binding to the GStreamer open source multimedia framework.

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

Media.Streaming.GStreamer.Core.Hierarchy

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 Pad

Constructors

Pad (ForeignPtr Pad) 

toPad :: PadClass o => o -> Pad

castToPad :: GObjectClass obj => obj -> Pad

toBin :: BinClass o => o -> Bin

castToBin :: GObjectClass obj => obj -> Bin

class ObjectClass o => PluginClass o

Instances

newtype Bus

Constructors

Bus (ForeignPtr Bus) 

class ObjectClass o => BusClass o

Instances

toBus :: BusClass o => o -> Bus

castToBus :: GObjectClass obj => obj -> Bus

toClock :: ClockClass o => o -> Clock

castToClock :: GObjectClass obj => obj -> Clock

class ObjectClass o => IndexClass o

Instances

toIndex :: IndexClass o => o -> Index

castToIndex :: GObjectClass obj => obj -> Index

class ObjectClass o => TaskClass o

Instances

toTask :: TaskClass o => o -> Task

castToTask :: GObjectClass obj => obj -> Task

newtype XML

Constructors

XML (ForeignPtr XML) 

class ObjectClass o => XMLClass o

Instances

toXML :: XMLClass o => o -> XML

castToXML :: GObjectClass obj => obj -> XML