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 MenuPrimBase => Ref MenuPrimBase -> 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
- handleMenuPrimBase :: Ref MenuPrimBase -> Event -> IO (Either UnknownEvent ())
- resizeMenuPrimBase :: Ref MenuPrimBase -> Rectangle -> IO ()
- hideMenuPrimBase :: Ref MenuPrimBase -> IO ()
- showWidgetMenuPrimBase :: Ref MenuPrimBase -> IO ()
Documentation
menu_Custom :: Rectangle -> Maybe Text -> Maybe (CustomWidgetFuncs MenuPrim) -> IO (Ref MenuPrim) Source #
insertMenuItem :: Parent a MenuPrimBase => Ref MenuPrimBase -> 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 #
handleMenuPrimBase :: Ref MenuPrimBase -> Event -> IO (Either UnknownEvent ()) Source #
resizeMenuPrimBase :: Ref MenuPrimBase -> Rectangle -> IO () Source #
hideMenuPrimBase :: Ref MenuPrimBase -> IO () Source #
showWidgetMenuPrimBase :: Ref MenuPrimBase -> IO () Source #
Hierarchy
Functions
add:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
->Text
->Maybe
Shortcut
->Maybe
(Ref
a->IO
()) ->MenuItemFlags
->IO
(AtIndex
) addAndGetMenuItem:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
->Text
->Maybe
Shortcut
->Maybe
(Ref
a->IO
()) ->MenuItemFlags
->IO
(Ref
MenuItemBase
) addName ::Ref
MenuPrimBase
->Text
->IO
() clear ::Ref
MenuPrimBase
->IO
() clearSubmenu ::Ref
MenuPrimBase
->AtIndex
->IO
(Either
OutOfRange
()) copy:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
->Ref
a->IO
() destroy ::Ref
MenuPrimBase
->IO
() findIndex ::Ref
MenuPrimBase
->MenuItemLocator
->IO
(Maybe
Int
) getDownBox ::Ref
MenuPrimBase
->IO
(Boxtype
) getDownColor ::Ref
MenuPrimBase
->IO
(Color
) getMenu ::Ref
MenuPrimBase
->IO
[(Maybe
(Ref
MenuItemBase
])) getMode ::Ref
MenuPrimBase
->AtIndex
->IO
(Maybe
MenuItemFlags
) getSize ::Ref
MenuPrimBase
->IO
(Int
) getText ::Ref
MenuPrimBase
->IO
Text
getTextWithIndex ::Ref
MenuPrimBase
->AtIndex
->IO
Text
getTextcolor ::Ref
MenuPrimBase
->IO
(Color
) getTextfont ::Ref
MenuPrimBase
->IO
(Font
) getTextsize ::Ref
MenuPrimBase
->IO
(FontSize
) getValue ::Ref
MenuPrimBase
->IO
(Maybe
AtIndex
) global ::Ref
MenuPrimBase
->IO
() handle ::Ref
MenuPrimBase
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
MenuPrimBase
->IO
() insert:: (Parent
aMenuPrimBase
) =>Ref
MenuPrimBase
->AtIndex
->Text
->Maybe
Shortcut
-> (Ref
a ->IO
()) ->MenuItemFlags
->IO
(AtIndex
) itemPathname:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
->Ref
a ->IO
(Maybe
Text
) itemPathnameRecent ::Ref
MenuPrimBase
->IO
(Maybe
String
) mvalue ::Ref
MenuPrimBase
->IO
(Maybe
(Ref
MenuItemBase
)) picked:: (Parent
aMenuItemBase
,Parent
bMenuItemBase
) =>Ref
MenuPrimBase
->Ref
a ->IO
(Maybe
(Ref
b)) remove ::Ref
MenuPrimBase
->AtIndex
->IO
() replace ::Ref
MenuPrimBase
->AtIndex
->Text
->IO
() resize ::Ref
MenuPrimBase
->Rectangle
->IO
() setDownBox ::Ref
MenuPrimBase
->Boxtype
->IO
() setDownColor ::Ref
MenuPrimBase
->Color
->IO
() setMenu:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
-> [Ref
a] ->IO
() setMode ::Ref
MenuPrimBase
->AtIndex
->MenuItemFlags
->IO
() setShortcut ::Ref
MenuPrimBase
->AtIndex
->ShortcutKeySequence
->IO
() setSize ::Ref
MenuPrimBase
->Size
->IO
() setTextcolor ::Ref
MenuPrimBase
->Color
->IO
() setTextfont ::Ref
MenuPrimBase
->Font
->IO
() setTextsize ::Ref
MenuPrimBase
->FontSize
->IO
() setValue ::Ref
MenuPrimBase
->MenuItemReference
->IO
(Either
NoChange
()) setonly:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
->Ref
a ->IO
() showWidget ::Ref
MenuPrimBase
->IO
() testShortcut:: (Parent
aMenuItemBase
) =>Ref
MenuPrimBase
->IO
(Maybe
(Ref
a))