Source codeContentsIndex
HTkMenu
Synopsis
newtype HTkMenu value = HTkMenu (MenuPrim String value)
compileHTkMenu :: (Container parent) => parent -> HTkMenu value -> IO (MenuButton, Event value)
Documentation
newtype HTkMenu value
Describes a menu to be compiled. The value identifies the buttons in the menu so the client can tell which was clicked. The String is a title which is given to menu cascades.
Constructors
HTkMenu (MenuPrim String value)
compileHTkMenu :: (Container parent) => parent -> HTkMenu value -> IO (MenuButton, Event value)
compileHTkMenu compiles a menu to a MenuButton. It does not display it; the caller should pack the MenuButton in the parent with whatever options are desired.
Produced by Haddock version 0.3