uni-htk-2.2.1.3: Graphical User Interface for Haskell Programs

Safe HaskellSafe
LanguageHaskell98

HTk.Toolkit.MenuType

Description

This module contains MenuType - a general abstract datatype for menus - plus some map-like operations on it.

NBNBNB. MenuType is also used by the graphs and daVinci stuff, which is supposed to be independent of HTk. So before making HTk-specific changes to this datatype, please find some way of harmlessly ignoring them (at best) for daVinci.

Documentation

data MenuPrim subMenuValue value Source #

Constructors

Button String value 
Menu subMenuValue [MenuPrim subMenuValue value] 
Blank 

mapMenuPrim :: (a -> b) -> MenuPrim c a -> MenuPrim c b Source #

mapMenuPrim' :: (c -> d) -> MenuPrim c a -> MenuPrim d a Source #

mapMMenuPrim :: Monad m => (a -> m b) -> MenuPrim c a -> m (MenuPrim c b) Source #

mapMMenuPrim' :: Monad m => (c -> m d) -> MenuPrim c a -> m (MenuPrim d a) Source #