Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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:: (Parent
aMenuItem
) =>Ref
MenuPrim
->Text
->Maybe
Shortcut
->Maybe
(Ref
a->IO
()) ->MenuItemFlags
->IO
(MenuItemIndex
) addName ::Ref
MenuPrim
->Text
->IO
() clear ::Ref
MenuPrim
->IO
() clearSubmenu ::Ref
MenuPrim
->Int
->IO
(Either
OutOfRange
()) copy:: (Parent
aMenuItem
) =>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
[(Maybe
(Ref
MenuItem
])) getMode ::Ref
MenuPrim
->Int
->IO
(Maybe
MenuItemFlags
) getSize ::Ref
MenuPrim
->IO
(Int
) getText ::Ref
MenuPrim
->IO
Text
getTextWithIndex ::Ref
MenuPrim
->Int
->IO
Text
getTextcolor ::Ref
MenuPrim
->IO
(Color
) getTextfont ::Ref
MenuPrim
->IO
(Font
) getTextsize ::Ref
MenuPrim
->IO
(FontSize
) getValue ::Ref
MenuPrim
->IO
(MenuItemIndex
) global ::Ref
MenuPrim
->IO
() handle ::Ref
MenuPrim
->Event
->IO
(Either
UnknownEvent
()) handleSuper ::Ref
MenuPrim
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
MenuPrim
->IO
() hideSuper ::Ref
MenuPrim
->IO
() insert:: (Parent
aMenuPrim
) =>Ref
MenuPrim
->Int
->Text
->Maybe
Shortcut
-> (Ref
a ->IO
()) ->MenuItemFlags
->IO
(MenuItemIndex
) itemPathname:: (Parent
aMenuItem
) =>Ref
MenuPrim
->Ref
a ->IO
(Maybe
Text
) itemPathnameRecent ::Ref
MenuPrim
->IO
(Maybe
String
) mvalue ::Ref
MenuPrim
->IO
(Maybe
(Ref
MenuItem
)) picked:: (Parent
aMenuItem
,Parent
bMenuItem
) =>Ref
MenuPrim
->Ref
a ->IO
(Maybe
(Ref
b)) remove ::Ref
MenuPrim
->Int
->IO
() replace ::Ref
MenuPrim
->Int
->Text
->IO
() resize ::Ref
MenuPrim
->Rectangle
->IO
() resizeSuper ::Ref
MenuPrim
->Rectangle
->IO
() setDownBox ::Ref
MenuPrim
->Boxtype
->IO
() setDownColor ::Ref
MenuPrim
->Int
->IO
() setMenu:: (Parent
aMenuItem
) =>Ref
MenuPrim
-> [Ref
a] ->IO
() setMode ::Ref
MenuPrim
->Int
->MenuItemFlags
->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
aMenuItem
) =>Ref
MenuPrim
->IO
(Maybe
(Ref
a)) Available in FLTK 1.3.4 only: setonly:: (Parent
aMenuItem
) =>Ref
MenuPrim
->Ref
a ->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 # | |
(Parent a MenuItem, (~) * impl (Ref a -> IO ())) => Op (Setonly ()) 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 # | |