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 |
GI.Gio.Objects.MenuModel
Contents
Description
- newtype MenuModel = MenuModel (ForeignPtr MenuModel)
- class GObject o => MenuModelK o
- toMenuModel :: MenuModelK o => o -> IO MenuModel
- noMenuModel :: Maybe MenuModel
- menuModelGetItemAttributeValue :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> Maybe VariantType -> m GVariant
- menuModelGetItemLink :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> m MenuModel
- menuModelGetNItems :: (MonadIO m, MenuModelK a) => a -> m Int32
- menuModelIsMutable :: (MonadIO m, MenuModelK a) => a -> m Bool
- menuModelItemsChanged :: (MonadIO m, MenuModelK a) => a -> Int32 -> Int32 -> Int32 -> m ()
- menuModelIterateItemAttributes :: (MonadIO m, MenuModelK a) => a -> Int32 -> m MenuAttributeIter
- 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
Constructors
MenuModel (ForeignPtr MenuModel) |
Instances
GObject MenuModel Source | |
type ParentTypes MenuModel Source | |
type AttributeList MenuModel Source | |
type SignalList MenuModel Source |
class GObject o => MenuModelK o Source
Instances
(GObject o, IsDescendantOf MenuModel o) => MenuModelK o Source |
toMenuModel :: MenuModelK o => o -> IO MenuModel Source
Methods
menuModelGetItemAttributeValue
menuModelGetItemAttributeValue :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> Maybe VariantType -> m GVariant Source
menuModelGetItemLink
menuModelGetItemLink :: (MonadIO m, MenuModelK a) => a -> Int32 -> Text -> m MenuModel Source
menuModelGetNItems
menuModelGetNItems :: (MonadIO m, MenuModelK a) => a -> m Int32 Source
menuModelIsMutable
menuModelIsMutable :: (MonadIO m, MenuModelK a) => a -> m Bool Source
menuModelItemsChanged
menuModelItemsChanged :: (MonadIO m, MenuModelK a) => a -> Int32 -> Int32 -> Int32 -> m () Source
menuModelIterateItemAttributes
menuModelIterateItemAttributes :: (MonadIO m, MenuModelK a) => a -> Int32 -> m MenuAttributeIter Source
menuModelIterateItemLinks
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