System.Glib.Flags

glib-0.13.4.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 GSignalMatchType # |
Flags IOCondition # |

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

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