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

Portabilityportable
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net

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