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

Maintainergtk2hs-users@lists.sourceforge.net
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