Safe Haskell | None |
---|---|
Language | Haskell2010 |
- menuItemNew :: IO (Ref MenuItem)
- newtype MenuItemIndex = MenuItemIndex Int
- newtype MenuItemName = MenuItemName String
- data MenuItemPointer = forall a . Parent a MenuItem => MenuItemPointer (Ref a)
- data MenuItemReference
- data MenuItemLocator
Documentation
menuItemNew :: IO (Ref MenuItem)
newtype MenuItemIndex
newtype MenuItemName
data MenuItemPointer
forall a . Parent a MenuItem => MenuItemPointer (Ref a) |
Hierarchy
Functions
activate ::Ref
MenuItem
->IO
() active ::Ref
MenuItem
->IO
(Bool
) activevisible ::Ref
MenuItem
->IO
(Bool
) add:: (Parent
aMenuItem
) =>Ref
MenuItem
->String
->Maybe
Shortcut
-> (Ref
a ->IO
()) ->MenuItemFlags
->IO
(MenuItemIndex
) checkbox ::Ref
MenuItem
->IO
(Bool
) clear ::Ref
MenuItem
->IO
() deactivate ::Ref
MenuItem
->IO
() destroy ::Ref
MenuItem
->IO
() doCallback ::Ref
MenuItem
->Ref
Widget
->IO
() draw:: (Parent
aMenuPrim
) =>Ref
MenuItem
->Rectangle
->Ref
a ->IO
() drawWithT:: (Parent
aMenuPrim
) =>Ref
MenuItem
->Rectangle
->Ref
a ->Int
->IO
() findShortcut:: (Parent
aMenuItem
) =>Ref
MenuItem
->Maybe
Int
->Bool
->IO
(Maybe
(Ref
a)) getFirst ::Ref
MenuItem
->IO
(Maybe
(Ref
MenuItem
)) getFlags ::Ref
MenuItem
->IO
(Maybe
MenuItemFlags
) getLabel ::Ref
MenuItem
->IO
(String
) getLabelcolor ::Ref
MenuItem
->IO
(Color
) getLabelfont ::Ref
MenuItem
->IO
(Font
) getLabelsize ::Ref
MenuItem
->IO
(FontSize
) getLabeltype ::Ref
MenuItem
->IO
(Labeltype
) getShortcut ::Ref
MenuItem
->IO
(Maybe
ShortcutKeySequence
) getSize ::Ref
MenuItem
->IO
(Int
) getText ::Ref
MenuItem
->IO
(String
) getValue ::Ref
MenuItem
->IO
(Int
) hide ::Ref
MenuItem
->IO
() insert:: (Parent
aMenuItem
) =>Ref
MenuItem
->Int
->String
->Maybe
ShortcutKeySequence
-> (Ref
a ->IO
()) ->MenuItemFlags
->IO
(MenuItemIndex
) measure:: (Parent
aMenuPrim
) =>Ref
MenuItem
->Ref
a ->IO
(Size
) next ::Ref
MenuItem
->IO
(Maybe
(Ref
MenuItem
)) nextWithStep:: (Parent
aMenuItem
) =>Ref
MenuItem
->Int
->IO
(Maybe
(Ref
a)) popup:: (Parent
aMenuItem
,Parent
bMenuPrim
,Parent
cMenuItem
) =>Ref
MenuItem
->Position
->Maybe
String
->Maybe
(Ref
a) ->Maybe
(Ref
b) ->IO
(Maybe
(Ref
c)) pulldown:: (Parent
aMenuPrim
,Parent
bMenuItem
,Parent
cMenuItem
) =>Ref
MenuItem
->Rectangle
->Maybe
(Ref
a) ->Maybe
(Ref
b) ->Maybe
(Ref
c) ->Maybe
Bool
->IO
(Maybe
(Ref
MenuItem
)) radio ::Ref
MenuItem
->IO
(Bool
) set ::Ref
MenuItem
->IO
() setCallback ::Ref
MenuItem
-> (Ref
orig ->IO
()) ->IO
() setFlags ::Ref
MenuItem
->MenuItemFlags
->IO
() setLabel ::Ref
MenuItem
->String
->IO
() setLabelWithLabeltype ::Ref
MenuItem
->Labeltype
->String
->IO
() setLabelcolor ::Ref
MenuItem
->Color
->IO
() setLabelfont ::Ref
MenuItem
->Font
->IO
() setLabelsize ::Ref
MenuItem
->FontSize
->IO
() setLabeltype ::Ref
MenuItem
->Labeltype
->IO
() setShortcut ::Ref
MenuItem
->ShortcutKeySequence
->IO
() setonly ::Ref
MenuItem
->IO
() showWidget ::Ref
MenuItem
->IO
() submenu ::Ref
MenuItem
->IO
(Bool
) testShortcut:: (Parent
aMenuItem
) =>Ref
MenuItem
->IO
(Maybe
(Ref
a)) visible ::Ref
MenuItem
->IO
(Bool
)