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

Portabilityportable
Stabilityprovisional
Maintainer[email protected]

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