Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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 -> CString -> CInt -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> (Ptr () -> Int -> CString -> CString -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> IO AtIndex
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 -> CString -> CInt -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> (Ptr () -> Int -> CString -> CString -> FunPtr CallbackWithUserDataPrim -> Int -> IO Int) -> IO AtIndex Source #
Hierarchy
Functions
add:: (Parent
aMenuItem
) =>Ref
MenuPrim
->Text
->Maybe
Shortcut
->Maybe
(Ref
a->IO
()) ->MenuItemFlags
->IO
(AtIndex
) addAndGetMenuItem:: (Parent
aMenuItem
) =>Ref
MenuPrim
->Text
->Maybe
Shortcut
->Maybe
(Ref
a->IO
()) ->MenuItemFlags
->IO
(Ref
MenuItem
) addName ::Ref
MenuPrim
->Text
->IO
() clear ::Ref
MenuPrim
->IO
() clearSubmenu ::Ref
MenuPrim
->AtIndex
->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
->AtIndex
->IO
(Maybe
MenuItemFlags
) getSize ::Ref
MenuPrim
->IO
(Int
) getText ::Ref
MenuPrim
->IO
Text
getTextWithIndex ::Ref
MenuPrim
->AtIndex
->IO
Text
getTextcolor ::Ref
MenuPrim
->IO
(Color
) getTextfont ::Ref
MenuPrim
->IO
(Font
) getTextsize ::Ref
MenuPrim
->IO
(FontSize
) getValue ::Ref
MenuPrim
->IO
(Maybe
AtIndex
) 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
->AtIndex
->Text
->Maybe
Shortcut
-> (Ref
a ->IO
()) ->MenuItemFlags
->IO
(AtIndex
) 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
->AtIndex
->IO
() replace ::Ref
MenuPrim
->AtIndex
->Text
->IO
() resize ::Ref
MenuPrim
->Rectangle
->IO
() resizeSuper ::Ref
MenuPrim
->Rectangle
->IO
() setDownBox ::Ref
MenuPrim
->Boxtype
->IO
() setDownColor ::Ref
MenuPrim
->Color
->IO
() setMenu:: (Parent
aMenuItem
) =>Ref
MenuPrim
-> [Ref
a] ->IO
() setMode ::Ref
MenuPrim
->AtIndex
->MenuItemFlags
->IO
() setShortcut ::Ref
MenuPrim
->AtIndex
->ShortcutKeySequence
->IO
() setSize ::Ref
MenuPrim
->Size
->IO
() setTextcolor ::Ref
MenuPrim
->Color
->IO
() setTextfont ::Ref
MenuPrim
->Font
->IO
() setTextsize ::Ref
MenuPrim
->FontSize
->IO
() setValue ::Ref
MenuPrim
->MenuItemReference
->IO
(Either
NoChange
()) setonly:: (Parent
aMenuItem
) =>Ref
MenuPrim
->Ref
a ->IO
() showWidget ::Ref
MenuPrim
->IO
() showWidgetSuper ::Ref
MenuPrim
->IO
() testShortcut:: (Parent
aMenuItem
) =>Ref
MenuPrim
->IO
(Maybe
(Ref
a))