| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.MenuPrim
- menu_New :: Rectangle -> Maybe String -> IO (Ref MenuPrim)
- menu_Custom :: Rectangle -> Maybe String -> Maybe (CustomWidgetFuncs MenuPrim) -> IO (Ref MenuPrim)
- insertMenuItem :: Parent a MenuPrim => Ref MenuPrim -> Int -> String -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> (C2HSImp.Ptr () -> Int -> String -> C2HSImp.CInt -> C2HSImp.FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> (C2HSImp.Ptr () -> Int -> String -> String -> C2HSImp.FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> IO MenuItemIndex
Documentation
menu_Custom :: Rectangle -> Maybe String -> Maybe (CustomWidgetFuncs MenuPrim) -> IO (Ref MenuPrim) Source #
insertMenuItem :: Parent a MenuPrim => Ref MenuPrim -> Int -> String -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> (C2HSImp.Ptr () -> Int -> String -> C2HSImp.CInt -> C2HSImp.FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> (C2HSImp.Ptr () -> Int -> String -> String -> C2HSImp.FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> IO MenuItemIndex Source #
Hierarchy
Functions
add:: (ParentaMenuItem) =>RefMenuPrim->String->MaybeShortcut-> (Refa->IO()) ->MenuItemFlags->IO(MenuItemIndex) addName ::RefMenuPrim->String->IO() clear ::RefMenuPrim->IO() clearSubmenu ::RefMenuPrim->Int->IO(EitherOutOfRange()) copy:: (ParentaMenuItem) =>RefMenuPrim->Refa->IO() destroy ::RefMenuPrim->IO() findIndex ::RefMenuPrim->MenuItemLocator->IO(MaybeInt) getDownBox ::RefMenuPrim->IO(Boxtype) getDownColor ::RefMenuPrim->IO(Color) getMenu ::RefMenuPrim->IO[RefMenuItem] getMode ::RefMenuPrim->Int->IO(Int) getSize ::RefMenuPrim->IO(Int) getText ::RefMenuPrim->IO(String) getTextWithIndex ::RefMenuPrim->Int->IO(String) getTextcolor ::RefMenuPrim->IO(Color) getTextfont ::RefMenuPrim->IO(Font) getTextsize ::RefMenuPrim->IO(FontSize) getValue ::RefMenuPrim->IO(MenuItemIndex) global ::RefMenuPrim->IO() handle ::RefMenuPrim->Event->IOInthandleSuper ::RefMenuPrim->Int->IO(Int) hide ::RefMenuPrim->IO() hideSuper ::RefMenuPrim->IO() insert:: (ParentaMenuPrim) =>RefMenuPrim->Int->String->MaybeShortcut-> (Refa ->IO()) ->MenuItemFlags->IO(MenuItemIndex) itemPathname:: (ParentaMenuItem) =>RefMenuPrim->Refa ->IO(MaybeString) itemPathnameRecent ::RefMenuPrim->IO(MaybeString) mvalue ::RefMenuPrim->IO(Maybe(RefMenuItem)) picked:: (ParentaMenuItem,ParentbMenuItem) =>RefMenuPrim->Refa ->IO(Maybe(Refb)) remove ::RefMenuPrim->Int->IO() replace ::RefMenuPrim->Int->String->IO() resize ::RefMenuPrim->Rectangle->IO() resizeSuper ::RefMenuPrim->Rectangle->IO() setDownBox ::RefMenuPrim->Boxtype->IO() setDownColor ::RefMenuPrim->Int->IO() setMenu:: (ParentaMenuItem) =>RefMenuPrim-> [Refa] ->IO() setMode ::RefMenuPrim->Int->MenuItemFlags->IO() setShortcut ::RefMenuPrim->Int->ShortcutKeySequence->IO() setSize ::RefMenuPrim->Int->Int->IO() setTextcolor ::RefMenuPrim->Color->IO() setTextfont ::RefMenuPrim->Font->IO() setTextsize ::RefMenuPrim->FontSize->IO() setValue ::RefMenuPrim->MenuItemReference->IO(Int) showWidget ::RefMenuPrim->IO() showWidgetSuper ::RefMenuPrim->IO() testShortcut:: (ParentaMenuItem) =>RefMenuPrim->IO(Maybe(Refa))
Orphan instances
| (~) * impl (Color -> IO ()) => Op (SetTextcolor ()) MenuPrim orig impl Source # | |
| (~) * impl (IO Color) => Op (GetTextcolor ()) MenuPrim orig impl Source # | |
| (~) * impl (FontSize -> IO ()) => Op (SetTextsize ()) MenuPrim orig impl Source # | |
| (~) * impl (IO FontSize) => Op (GetTextsize ()) MenuPrim orig impl Source # | |
| (~) * impl (Font -> IO ()) => Op (SetTextfont ()) MenuPrim orig impl Source # | |
| (~) * impl (IO Font) => Op (GetTextfont ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> IO String) => Op (GetTextWithIndex ()) MenuPrim orig impl Source # | |
| (~) * impl (IO String) => Op (GetText ()) MenuPrim orig impl Source # | |
| (~) * impl (IO (Maybe (Ref MenuItem))) => Op (Mvalue ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> IO (Maybe MenuItemFlags)) => Op (GetMode ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> MenuItemFlags -> IO ()) => Op (SetMode ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> IO ()) => Op (Remove ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> String -> IO ()) => Op (Replace ()) MenuPrim orig impl Source # | |
| (~) * impl (String -> IO ()) => Op (AddName ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> IO (Either OutOfRange ())) => Op (ClearSubmenu ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> Int -> IO ()) => Op (SetSize ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, (~) * impl (Ref a -> IO ())) => Op (Copy ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, (~) * impl ([Ref a] -> IO ())) => Op (SetMenu ()) MenuPrim orig impl Source # | |
| (~) * impl (IO [Maybe (Ref MenuItem)]) => Op (GetMenu ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (Global ()) MenuPrim orig impl Source # | |
| (~) * impl (MenuItemLocator -> IO (Maybe Int)) => Op (FindIndex ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, Parent b MenuItem, (~) * impl (Ref a -> IO (Maybe (Ref b)))) => Op (Picked ()) MenuPrim orig impl Source # | |
| (~) * impl (IO (Maybe String)) => Op (ItemPathnameRecent ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, (~) * impl (Ref a -> IO (Maybe String))) => Op (ItemPathname ()) MenuPrim orig impl Source # | |
| (~) * impl (IO Int) => Op (GetSize ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, (~) * impl (IO (Maybe (Ref a)))) => Op (TestShortcut ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> IO ()) => Op (SetDownColor ()) MenuPrim orig impl Source # | |
| (~) * impl (IO Color) => Op (GetDownColor ()) MenuPrim orig impl Source # | |
| (~) * impl (Boxtype -> IO ()) => Op (SetDownBox ()) MenuPrim orig impl Source # | |
| (~) * impl (IO Boxtype) => Op (GetDownBox ()) MenuPrim orig impl Source # | |
| (~) * impl (Int -> ShortcutKeySequence -> IO ()) => Op (SetShortcut ()) MenuPrim orig impl Source # | |
| (~) * impl (MenuItemReference -> IO Int) => Op (SetValue ()) MenuPrim orig impl Source # | |
| (~) * impl (IO MenuItemIndex) => Op (GetValue ()) MenuPrim orig impl Source # | |
| (~) * impl (Event -> IO Int) => Op (HandleSuper ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (Clear ()) MenuPrim orig impl Source # | |
| (Parent a MenuPrim, (~) * impl (Int -> String -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)) => Op (Insert ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, (~) * impl (String -> Maybe Shortcut -> Maybe (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)) => Op (Add ()) MenuPrim orig impl Source # | |
| (~) * impl (Rectangle -> IO ()) => Op (Resize ()) MenuPrim orig impl Source # | |
| (~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (Hide ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (HideSuper ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (ShowWidget ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (ShowWidgetSuper ()) MenuPrim orig impl Source # | |
| (~) * impl (Event -> IO Int) => Op (Handle ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (Destroy ()) MenuPrim orig impl Source # | |