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 ContextMenuItem = ContextMenuItem (ForeignPtr ContextMenuItem)
- class GObject o => ContextMenuItemK o
- toContextMenuItem :: ContextMenuItemK o => o -> IO ContextMenuItem
- noContextMenuItem :: Maybe ContextMenuItem
- contextMenuItemGetAction :: (MonadIO m, ContextMenuItemK a) => a -> m Action
- contextMenuItemGetStockAction :: (MonadIO m, ContextMenuItemK a) => a -> m ContextMenuAction
- contextMenuItemGetSubmenu :: (MonadIO m, ContextMenuItemK a) => a -> m ContextMenu
- contextMenuItemIsSeparator :: (MonadIO m, ContextMenuItemK a) => a -> m Bool
- contextMenuItemNew :: (MonadIO m, ActionK a) => a -> m ContextMenuItem
- contextMenuItemNewFromStockAction :: MonadIO m => ContextMenuAction -> m ContextMenuItem
- contextMenuItemNewFromStockActionWithLabel :: MonadIO m => ContextMenuAction -> Text -> m ContextMenuItem
- contextMenuItemNewSeparator :: MonadIO m => m ContextMenuItem
- contextMenuItemNewWithSubmenu :: (MonadIO m, ContextMenuK a) => Text -> a -> m ContextMenuItem
- contextMenuItemSetSubmenu :: (MonadIO m, ContextMenuItemK a, ContextMenuK b) => a -> Maybe b -> m ()
Exported types
newtype ContextMenuItem Source
class GObject o => ContextMenuItemK o Source
(GObject o, IsDescendantOf ContextMenuItem o) => ContextMenuItemK o |
toContextMenuItem :: ContextMenuItemK o => o -> IO ContextMenuItem Source
Methods
contextMenuItemGetAction
contextMenuItemGetAction :: (MonadIO m, ContextMenuItemK a) => a -> m Action Source
contextMenuItemGetStockAction
contextMenuItemGetStockAction :: (MonadIO m, ContextMenuItemK a) => a -> m ContextMenuAction Source
contextMenuItemGetSubmenu
contextMenuItemGetSubmenu :: (MonadIO m, ContextMenuItemK a) => a -> m ContextMenu Source
contextMenuItemIsSeparator
contextMenuItemIsSeparator :: (MonadIO m, ContextMenuItemK a) => a -> m Bool Source
contextMenuItemNew
contextMenuItemNew :: (MonadIO m, ActionK a) => a -> m ContextMenuItem Source
contextMenuItemNewFromStockAction
contextMenuItemNewFromStockActionWithLabel
contextMenuItemNewFromStockActionWithLabel :: MonadIO m => ContextMenuAction -> Text -> m ContextMenuItem Source
contextMenuItemNewSeparator
contextMenuItemNewWithSubmenu
contextMenuItemNewWithSubmenu :: (MonadIO m, ContextMenuK a) => Text -> a -> m ContextMenuItem Source
contextMenuItemSetSubmenu
contextMenuItemSetSubmenu :: (MonadIO m, ContextMenuItemK a, ContextMenuK b) => a -> Maybe b -> m () Source