fltkhs-0.1.0.0: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.MenuPrim

Contents

Synopsis

Documentation

Hierarchy

Functions

add:: (Parent a MenuPrim) => Ref MenuPrim -> String -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)

addName :: Ref MenuPrim -> String -> IO ()

clear :: Ref MenuPrim -> IO ()

clearSubmenu :: Ref MenuPrim -> Int -> IO (Either OutOfRange ())

copy:: (Parent a MenuItem) => Ref MenuPrim -> Ref a -> IO ())

destroy :: Ref MenuPrim -> IO ()

findIndex :: Ref MenuPrim -> MenuItemLocator -> IO (Maybe Int)

getDownBox :: Ref MenuPrim -> IO Boxtype

getDownColor :: Ref MenuPrim -> IO Color

getMenu :: Ref MenuPrim -> IO (Ref MenuItem)

getMode :: Ref MenuPrim -> Int -> IO Int

getSize :: Ref MenuPrim -> IO Int

getText :: Ref MenuPrim -> IO String

getTextWithIndex :: Ref MenuPrim -> Int -> IO String

getTextcolor :: Ref MenuPrim -> IO Color

getTextfont :: Ref MenuPrim -> IO Font

getTextsize :: Ref MenuPrim -> IO FontSize

getValue :: Ref MenuPrim -> IO Int

global :: Ref MenuPrim -> IO ()

handle :: Ref MenuPrim -> Event -> IO Int

handleSuper :: Ref MenuPrim -> Int -> IO Int

hide :: Ref MenuPrim -> IO ()

hideSuper :: Ref MenuPrim -> IO ()

insert:: (Parent a MenuPrim) => Ref MenuPrim -> Int -> String -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)

itemPathname:: (Parent a MenuItem) => Ref MenuPrim -> Ref a -> IO (Maybe String))

itemPathnameRecent :: Ref MenuPrim -> IO (Maybe String)

mvalue :: Ref MenuPrim -> IO (Ref MenuItem)

picked:: (Parent a MenuItem, Parent b MenuItem) => Ref MenuPrim -> Ref a -> IO (Ref b))

remove :: Ref MenuPrim -> Int -> IO ()

replace :: Ref MenuPrim -> Int -> String -> IO ()

resize :: Ref MenuPrim -> Rectangle -> IO ()

resizeSuper :: Ref MenuPrim -> Rectangle -> IO ()

setDownBox :: Ref MenuPrim -> Boxtype -> IO ()

setDownColor :: Ref MenuPrim -> Int -> IO ()

setMenu:: (Parent a MenuItem) => Ref MenuPrim -> [Ref a] -> IO ())

setMode :: Ref MenuPrim -> Int -> Int -> IO ()

setShortcut :: Ref MenuPrim -> Int -> ShortcutKeySequence -> IO ()

setSize :: Ref MenuPrim -> Int -> Int -> IO ()

setTextcolor :: Ref MenuPrim -> Color -> IO ()

setTextfont :: Ref MenuPrim -> Font -> IO ()

setTextsize :: Ref MenuPrim -> FontSize -> IO ()

setValue :: Ref MenuPrim -> MenuItemReference -> IO Int

showWidget :: Ref MenuPrim -> IO ()

showWidgetSuper :: Ref MenuPrim -> IO ()

testShortcut:: (Parent a MenuItem) => Ref MenuPrim -> IO (Ref a))