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

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

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