| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.MenuPrim
- menu_New :: Rectangle -> Maybe Text -> IO (Ref MenuPrim)
- menu_Custom :: Rectangle -> Maybe Text -> Maybe (CustomWidgetFuncs MenuPrim) -> IO (Ref MenuPrim)
- insertMenuItem :: Parent a MenuPrim => Ref MenuPrim -> Int -> Text -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> (Ptr () -> Int -> Text -> CInt -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> (Ptr () -> Int -> Text -> Text -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> IO MenuItemIndex
Documentation
menu_Custom :: Rectangle -> Maybe Text -> Maybe (CustomWidgetFuncs MenuPrim) -> IO (Ref MenuPrim) Source #
insertMenuItem :: Parent a MenuPrim => Ref MenuPrim -> Int -> Text -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> (Ptr () -> Int -> Text -> CInt -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> (Ptr () -> Int -> Text -> Text -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> IO MenuItemIndex Source #
Hierarchy
Functions
add:: (ParentaMenuItem) =>RefMenuPrim->Text->MaybeShortcut->Maybe(Refa->IO()) ->MenuItemFlags->IO(MenuItemIndex) addName ::RefMenuPrim->Text->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[(Maybe(RefMenuItem])) getMode ::RefMenuPrim->Int->IO(MaybeMenuItemFlags) getSize ::RefMenuPrim->IO(Int) getText ::RefMenuPrim->IOTextgetTextWithIndex ::RefMenuPrim->Int->IOTextgetTextcolor ::RefMenuPrim->IO(Color) getTextfont ::RefMenuPrim->IO(Font) getTextsize ::RefMenuPrim->IO(FontSize) getValue ::RefMenuPrim->IO(MenuItemIndex) global ::RefMenuPrim->IO() handle ::RefMenuPrim->Event->IO(EitherUnknownEvent()) handleSuper ::RefMenuPrim->Event->IO(EitherUnknownEvent()) hide ::RefMenuPrim->IO() hideSuper ::RefMenuPrim->IO() insert:: (ParentaMenuPrim) =>RefMenuPrim->Int->Text->MaybeShortcut-> (Refa ->IO()) ->MenuItemFlags->IO(MenuItemIndex) itemPathname:: (ParentaMenuItem) =>RefMenuPrim->Refa ->IO(MaybeText) itemPathnameRecent ::RefMenuPrim->IO(MaybeString) mvalue ::RefMenuPrim->IO(Maybe(RefMenuItem)) picked:: (ParentaMenuItem,ParentbMenuItem) =>RefMenuPrim->Refa ->IO(Maybe(Refb)) remove ::RefMenuPrim->Int->IO() replace ::RefMenuPrim->Int->Text->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)) Available in FLTK 1.3.4 only: setOnly:: (ParentaMenuItem) =>RefMenuPrim->Refa ->IO()
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 Text) => Op (GetTextWithIndex ()) MenuPrim orig impl Source # | |
| (~) * impl (IO Text) => 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 -> Text -> IO ()) => Op (Replace ()) MenuPrim orig impl Source # | |
| (~) * impl (Text -> 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 Text))) => 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 (Either UnknownEvent ())) => Op (HandleSuper ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (Clear ()) MenuPrim orig impl Source # | |
| (Parent a MenuPrim, (~) * impl (Int -> Text -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)) => Op (Insert ()) MenuPrim orig impl Source # | |
| (Parent a MenuItem, (~) * impl (Text -> 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 (Either UnknownEvent ())) => Op (Handle ()) MenuPrim orig impl Source # | |
| (~) * impl (IO ()) => Op (Destroy ()) MenuPrim orig impl Source # | |