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

Maintainer[email protected]
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

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] -> Int Source

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