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

Portabilityportable
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Safe HaskellSafe-Infered

System.Glib.Flags

Description

This module defines a type class for flags that are marshaled as bitflags.

Documentation

class (Enum a, Bounded a) => Flags a Source

Instances

fromFlags :: Flags a => [a] -> IntSource

toFlags :: Flags a => Int -> [a]Source