|  | Source code | Contents | Index

Graphics.UI.ObjectIO.StdMenuReceiver |

Portability | portable
Stability | provisional
Maintainer | ka2_mail@yahoo.com

Description
StdMenuReceiver defines Receiver(2) instances of `MenuElements` class.
Synopsis

class MenuElements m where

menuElementToHandles :: m ls ps -> GUI ps [MenuElementState ls ps]

Documentation
class MenuElements m where

Translating menu elements into the internal representation. There are instances for combinator types: `AddLS`, `NewLS`, `ListLS`, `NilLS` and `TupLS` and for the concrete menu elements: `MenuItem`, `MenuSeparator`, `SubMenu` and `RadioMenu`
Methods

menuElementToHandles :: m ls ps -> GUI ps [MenuElementState ls ps]

Instances

MenuElements MenuItem
MenuElements MenuSeparator
MenuElements NilLS
MenuElements RadioMenu
MenuElements m => MenuElements (AddLS m)
MenuElements m => MenuElements (ListLS m)
MenuElements m => MenuElements (NewLS m)
MenuElements (Receiver m)
MenuElements m => MenuElements (SubMenu m)
MenuElements (Receiver2 m r)
(MenuElements m1, MenuElements m2) => MenuElements (TupLS m1 m2)

Produced by Haddock version 0.8