Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype MenuModel = MenuModel (ForeignPtr MenuModel)
- class GObject o => MenuModelK o
- toMenuModel :: MenuModelK o => o -> IO MenuModel
- noMenuModel :: Maybe MenuModel
- data MenuModelGetItemAttributeValueMethodInfo
- menuModelGetItemAttributeValue :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> Maybe VariantType -> m GVariant
- data MenuModelGetItemLinkMethodInfo
- menuModelGetItemLink :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> m MenuModel
- data MenuModelGetNItemsMethodInfo
- menuModelGetNItems :: (MonadIO m, MenuModelK a) => a -> m Int32
- data MenuModelIsMutableMethodInfo
- menuModelIsMutable :: (MonadIO m, MenuModelK a) => a -> m Bool
- data MenuModelItemsChangedMethodInfo
- menuModelItemsChanged :: (MonadIO m, MenuModelK a) => a -> Int32 -> Int32 -> Int32 -> m ()
- data MenuModelIterateItemAttributesMethodInfo
- menuModelIterateItemAttributes :: (MonadIO m, MenuModelK a) => a -> Int32 -> m MenuAttributeIter
- data MenuModelIterateItemLinksMethodInfo
- menuModelIterateItemLinks :: (MonadIO m, MenuModelK a) => a -> Int32 -> m MenuLinkIter
- type MenuModelItemsChangedCallback = Int32 -> Int32 -> Int32 -> IO ()
- type MenuModelItemsChangedCallbackC = Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO ()
- data MenuModelItemsChangedSignalInfo
- afterMenuModelItemsChanged :: (GObject a, MonadIO m) => a -> MenuModelItemsChangedCallback -> m SignalHandlerId
- menuModelItemsChangedCallbackWrapper :: MenuModelItemsChangedCallback -> Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO ()
- menuModelItemsChangedClosure :: MenuModelItemsChangedCallback -> IO Closure
- mkMenuModelItemsChangedCallback :: MenuModelItemsChangedCallbackC -> IO (FunPtr MenuModelItemsChangedCallbackC)
- noMenuModelItemsChangedCallback :: Maybe MenuModelItemsChangedCallback
- onMenuModelItemsChanged :: (GObject a, MonadIO m) => a -> MenuModelItemsChangedCallback -> m SignalHandlerId
Exported types
GObject MenuModel | |
((~) * info (ResolveMenuModelMethod t MenuModel), MethodInfo * info MenuModel p) => IsLabelProxy t (MenuModel -> p) | |
type ParentTypes MenuModel | |
type AttributeList MenuModel | |
type SignalList MenuModel |
class GObject o => MenuModelK o Source
(GObject o, IsDescendantOf MenuModel o) => MenuModelK o |
toMenuModel :: MenuModelK o => o -> IO MenuModel Source
Methods
menuModelGetItemAttributeValue
data MenuModelGetItemAttributeValueMethodInfo Source
((~) * signature (Int32 -> Text -> Maybe VariantType -> m GVariant), MonadIO m, MenuModelK a) => MethodInfo * MenuModelGetItemAttributeValueMethodInfo a signature |
menuModelGetItemAttributeValue :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> Maybe VariantType -> m GVariant Source
menuModelGetItemLink
data MenuModelGetItemLinkMethodInfo Source
((~) * signature (Int32 -> Text -> m MenuModel), MonadIO m, MenuModelK a) => MethodInfo * MenuModelGetItemLinkMethodInfo a signature |
menuModelGetItemLink :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> m MenuModel Source
menuModelGetNItems
data MenuModelGetNItemsMethodInfo Source
((~) * signature (m Int32), MonadIO m, MenuModelK a) => MethodInfo * MenuModelGetNItemsMethodInfo a signature |
menuModelGetNItems :: (MonadIO m, MenuModelK a) => a -> m Int32 Source
menuModelIsMutable
data MenuModelIsMutableMethodInfo Source
((~) * signature (m Bool), MonadIO m, MenuModelK a) => MethodInfo * MenuModelIsMutableMethodInfo a signature |
menuModelIsMutable :: (MonadIO m, MenuModelK a) => a -> m Bool Source
menuModelItemsChanged
data MenuModelItemsChangedMethodInfo Source
((~) * signature (Int32 -> Int32 -> Int32 -> m ()), MonadIO m, MenuModelK a) => MethodInfo * MenuModelItemsChangedMethodInfo a signature |
menuModelItemsChanged :: (MonadIO m, MenuModelK a) => a -> Int32 -> Int32 -> Int32 -> m () Source
menuModelIterateItemAttributes
data MenuModelIterateItemAttributesMethodInfo Source
((~) * signature (Int32 -> m MenuAttributeIter), MonadIO m, MenuModelK a) => MethodInfo * MenuModelIterateItemAttributesMethodInfo a signature |
menuModelIterateItemAttributes :: (MonadIO m, MenuModelK a) => a -> Int32 -> m MenuAttributeIter Source
menuModelIterateItemLinks
data MenuModelIterateItemLinksMethodInfo Source
((~) * signature (Int32 -> m MenuLinkIter), MonadIO m, MenuModelK a) => MethodInfo * MenuModelIterateItemLinksMethodInfo a signature |
menuModelIterateItemLinks :: (MonadIO m, MenuModelK a) => a -> Int32 -> m MenuLinkIter Source
Signals
ItemsChanged
afterMenuModelItemsChanged :: (GObject a, MonadIO m) => a -> MenuModelItemsChangedCallback -> m SignalHandlerId Source
menuModelItemsChangedCallbackWrapper :: MenuModelItemsChangedCallback -> Ptr () -> Int32 -> Int32 -> Int32 -> Ptr () -> IO () Source
mkMenuModelItemsChangedCallback :: MenuModelItemsChangedCallbackC -> IO (FunPtr MenuModelItemsChangedCallbackC) Source
onMenuModelItemsChanged :: (GObject a, MonadIO m) => a -> MenuModelItemsChangedCallback -> m SignalHandlerId Source