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

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell98

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

Instances

Flags IOCondition |

fromFlags :: Flags a => [a] -> Int

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