1 2 3 4 5 6 7 8 9
module Types where import Graphics.X11.Xlib data Widget = Text String | Icon String data Bitmap = Bitmap { width :: Dimension , height :: Dimension , pixmap :: Pixmap }