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

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

System.Glib.GType

Description

This module implements only the necessities for the GTK binding.

Synopsis

Documentation

typeInstanceIsA :: Ptr () -> GType -> BoolSource

Check if an object is of the specific type or derived from it.

  • Internally used by Hierarchy.

glibTypeInit :: IO ()Source

Prior to any use of the glib type/object system, glibTypeInit has to be called to initialise the system.

Note that this is not needed for gtk applications using initGUI since that initialises everything itself. It is only needed for applications using glib directly, without also using gtk.