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 |
- Exported types
- Methods
- actionGroupAddAction
- actionGroupAddActionWithAccel
- actionGroupGetAccelGroup
- actionGroupGetAction
- actionGroupGetName
- actionGroupGetSensitive
- actionGroupGetVisible
- actionGroupListActions
- actionGroupNew
- actionGroupRemoveAction
- actionGroupSetAccelGroup
- actionGroupSetSensitive
- actionGroupSetTranslateFunc
- actionGroupSetTranslationDomain
- actionGroupSetVisible
- actionGroupTranslateString
- Properties
- Signals
- newtype ActionGroup = ActionGroup (ForeignPtr ActionGroup)
- class GObject o => ActionGroupK o
- toActionGroup :: ActionGroupK o => o -> IO ActionGroup
- noActionGroup :: Maybe ActionGroup
- actionGroupAddAction :: (MonadIO m, ActionGroupK a, ActionK b) => a -> b -> m ()
- actionGroupAddActionWithAccel :: (MonadIO m, ActionGroupK a, ActionK b) => a -> b -> Maybe Text -> m ()
- actionGroupGetAccelGroup :: (MonadIO m, ActionGroupK a) => a -> m AccelGroup
- actionGroupGetAction :: (MonadIO m, ActionGroupK a) => a -> Text -> m Action
- actionGroupGetName :: (MonadIO m, ActionGroupK a) => a -> m Text
- actionGroupGetSensitive :: (MonadIO m, ActionGroupK a) => a -> m Bool
- actionGroupGetVisible :: (MonadIO m, ActionGroupK a) => a -> m Bool
- actionGroupListActions :: (MonadIO m, ActionGroupK a) => a -> m [Action]
- actionGroupNew :: MonadIO m => Text -> m ActionGroup
- actionGroupRemoveAction :: (MonadIO m, ActionGroupK a, ActionK b) => a -> b -> m ()
- actionGroupSetAccelGroup :: (MonadIO m, ActionGroupK a, AccelGroupK b) => a -> Maybe b -> m ()
- actionGroupSetSensitive :: (MonadIO m, ActionGroupK a) => a -> Bool -> m ()
- actionGroupSetTranslateFunc :: (MonadIO m, ActionGroupK a) => a -> TranslateFunc -> m ()
- actionGroupSetTranslationDomain :: (MonadIO m, ActionGroupK a) => a -> Maybe Text -> m ()
- actionGroupSetVisible :: (MonadIO m, ActionGroupK a) => a -> Bool -> m ()
- actionGroupTranslateString :: (MonadIO m, ActionGroupK a) => a -> Text -> m Text
- data ActionGroupAccelGroupPropertyInfo
- constructActionGroupAccelGroup :: AccelGroupK a => a -> IO ([Char], GValue)
- getActionGroupAccelGroup :: (MonadIO m, ActionGroupK o) => o -> m AccelGroup
- setActionGroupAccelGroup :: (MonadIO m, ActionGroupK o, AccelGroupK a) => o -> a -> m ()
- data ActionGroupNamePropertyInfo
- constructActionGroupName :: Text -> IO ([Char], GValue)
- getActionGroupName :: (MonadIO m, ActionGroupK o) => o -> m Text
- data ActionGroupSensitivePropertyInfo
- constructActionGroupSensitive :: Bool -> IO ([Char], GValue)
- getActionGroupSensitive :: (MonadIO m, ActionGroupK o) => o -> m Bool
- setActionGroupSensitive :: (MonadIO m, ActionGroupK o) => o -> Bool -> m ()
- data ActionGroupVisiblePropertyInfo
- constructActionGroupVisible :: Bool -> IO ([Char], GValue)
- getActionGroupVisible :: (MonadIO m, ActionGroupK o) => o -> m Bool
- setActionGroupVisible :: (MonadIO m, ActionGroupK o) => o -> Bool -> m ()
- type ActionGroupConnectProxyCallback = Action -> Widget -> IO ()
- type ActionGroupConnectProxyCallbackC = Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO ()
- data ActionGroupConnectProxySignalInfo
- actionGroupConnectProxyCallbackWrapper :: ActionGroupConnectProxyCallback -> Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO ()
- actionGroupConnectProxyClosure :: ActionGroupConnectProxyCallback -> IO Closure
- afterActionGroupConnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupConnectProxyCallback -> m SignalHandlerId
- mkActionGroupConnectProxyCallback :: ActionGroupConnectProxyCallbackC -> IO (FunPtr ActionGroupConnectProxyCallbackC)
- noActionGroupConnectProxyCallback :: Maybe ActionGroupConnectProxyCallback
- onActionGroupConnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupConnectProxyCallback -> m SignalHandlerId
- type ActionGroupDisconnectProxyCallback = Action -> Widget -> IO ()
- type ActionGroupDisconnectProxyCallbackC = Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO ()
- data ActionGroupDisconnectProxySignalInfo
- actionGroupDisconnectProxyCallbackWrapper :: ActionGroupDisconnectProxyCallback -> Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO ()
- actionGroupDisconnectProxyClosure :: ActionGroupDisconnectProxyCallback -> IO Closure
- afterActionGroupDisconnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupDisconnectProxyCallback -> m SignalHandlerId
- mkActionGroupDisconnectProxyCallback :: ActionGroupDisconnectProxyCallbackC -> IO (FunPtr ActionGroupDisconnectProxyCallbackC)
- noActionGroupDisconnectProxyCallback :: Maybe ActionGroupDisconnectProxyCallback
- onActionGroupDisconnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupDisconnectProxyCallback -> m SignalHandlerId
- type ActionGroupPostActivateCallback = Action -> IO ()
- type ActionGroupPostActivateCallbackC = Ptr () -> Ptr Action -> Ptr () -> IO ()
- data ActionGroupPostActivateSignalInfo
- actionGroupPostActivateCallbackWrapper :: ActionGroupPostActivateCallback -> Ptr () -> Ptr Action -> Ptr () -> IO ()
- actionGroupPostActivateClosure :: ActionGroupPostActivateCallback -> IO Closure
- afterActionGroupPostActivate :: (GObject a, MonadIO m) => a -> ActionGroupPostActivateCallback -> m SignalHandlerId
- mkActionGroupPostActivateCallback :: ActionGroupPostActivateCallbackC -> IO (FunPtr ActionGroupPostActivateCallbackC)
- noActionGroupPostActivateCallback :: Maybe ActionGroupPostActivateCallback
- onActionGroupPostActivate :: (GObject a, MonadIO m) => a -> ActionGroupPostActivateCallback -> m SignalHandlerId
- type ActionGroupPreActivateCallback = Action -> IO ()
- type ActionGroupPreActivateCallbackC = Ptr () -> Ptr Action -> Ptr () -> IO ()
- data ActionGroupPreActivateSignalInfo
- actionGroupPreActivateCallbackWrapper :: ActionGroupPreActivateCallback -> Ptr () -> Ptr Action -> Ptr () -> IO ()
- actionGroupPreActivateClosure :: ActionGroupPreActivateCallback -> IO Closure
- afterActionGroupPreActivate :: (GObject a, MonadIO m) => a -> ActionGroupPreActivateCallback -> m SignalHandlerId
- mkActionGroupPreActivateCallback :: ActionGroupPreActivateCallbackC -> IO (FunPtr ActionGroupPreActivateCallbackC)
- noActionGroupPreActivateCallback :: Maybe ActionGroupPreActivateCallback
- onActionGroupPreActivate :: (GObject a, MonadIO m) => a -> ActionGroupPreActivateCallback -> m SignalHandlerId
Exported types
newtype ActionGroup Source
class GObject o => ActionGroupK o Source
(GObject o, IsDescendantOf ActionGroup o) => ActionGroupK o Source |
toActionGroup :: ActionGroupK o => o -> IO ActionGroup Source
Methods
actionGroupAddAction
actionGroupAddAction :: (MonadIO m, ActionGroupK a, ActionK b) => a -> b -> m () Source
Deprecated: (Since version 3.10)
actionGroupAddActionWithAccel
actionGroupAddActionWithAccel :: (MonadIO m, ActionGroupK a, ActionK b) => a -> b -> Maybe Text -> m () Source
Deprecated: (Since version 3.10)
actionGroupGetAccelGroup
actionGroupGetAccelGroup :: (MonadIO m, ActionGroupK a) => a -> m AccelGroup Source
Deprecated: (Since version 3.10)
actionGroupGetAction
actionGroupGetAction :: (MonadIO m, ActionGroupK a) => a -> Text -> m Action Source
Deprecated: (Since version 3.10)
actionGroupGetName
actionGroupGetName :: (MonadIO m, ActionGroupK a) => a -> m Text Source
Deprecated: (Since version 3.10)
actionGroupGetSensitive
actionGroupGetSensitive :: (MonadIO m, ActionGroupK a) => a -> m Bool Source
Deprecated: (Since version 3.10)
actionGroupGetVisible
actionGroupGetVisible :: (MonadIO m, ActionGroupK a) => a -> m Bool Source
Deprecated: (Since version 3.10)
actionGroupListActions
actionGroupListActions :: (MonadIO m, ActionGroupK a) => a -> m [Action] Source
Deprecated: (Since version 3.10)
actionGroupNew
actionGroupNew :: MonadIO m => Text -> m ActionGroup Source
Deprecated: (Since version 3.10)
actionGroupRemoveAction
actionGroupRemoveAction :: (MonadIO m, ActionGroupK a, ActionK b) => a -> b -> m () Source
Deprecated: (Since version 3.10)
actionGroupSetAccelGroup
actionGroupSetAccelGroup :: (MonadIO m, ActionGroupK a, AccelGroupK b) => a -> Maybe b -> m () Source
Deprecated: (Since version 3.10)
actionGroupSetSensitive
actionGroupSetSensitive :: (MonadIO m, ActionGroupK a) => a -> Bool -> m () Source
Deprecated: (Since version 3.10)
actionGroupSetTranslateFunc
actionGroupSetTranslateFunc :: (MonadIO m, ActionGroupK a) => a -> TranslateFunc -> m () Source
Deprecated: (Since version 3.10)
actionGroupSetTranslationDomain
actionGroupSetTranslationDomain :: (MonadIO m, ActionGroupK a) => a -> Maybe Text -> m () Source
Deprecated: (Since version 3.10)
actionGroupSetVisible
actionGroupSetVisible :: (MonadIO m, ActionGroupK a) => a -> Bool -> m () Source
Deprecated: (Since version 3.10)
actionGroupTranslateString
actionGroupTranslateString :: (MonadIO m, ActionGroupK a) => a -> Text -> m Text Source
Deprecated: (Since version 3.10)
Properties
AccelGroup
data ActionGroupAccelGroupPropertyInfo Source
AttrInfo ActionGroupAccelGroupPropertyInfo Source | |
type AttrLabel ActionGroupAccelGroupPropertyInfo = "ActionGroup::accel-group" Source | |
type AttrGetType ActionGroupAccelGroupPropertyInfo = AccelGroup Source | |
type AttrBaseTypeConstraint ActionGroupAccelGroupPropertyInfo = ActionGroupK Source | |
type AttrSetTypeConstraint ActionGroupAccelGroupPropertyInfo = AccelGroupK Source | |
type AttrAllowedOps ActionGroupAccelGroupPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructActionGroupAccelGroup :: AccelGroupK a => a -> IO ([Char], GValue) Source
getActionGroupAccelGroup :: (MonadIO m, ActionGroupK o) => o -> m AccelGroup Source
setActionGroupAccelGroup :: (MonadIO m, ActionGroupK o, AccelGroupK a) => o -> a -> m () Source
Name
data ActionGroupNamePropertyInfo Source
AttrInfo ActionGroupNamePropertyInfo Source | |
type AttrLabel ActionGroupNamePropertyInfo = "ActionGroup::name" Source | |
type AttrGetType ActionGroupNamePropertyInfo = Text Source | |
type AttrBaseTypeConstraint ActionGroupNamePropertyInfo = ActionGroupK Source | |
type AttrSetTypeConstraint ActionGroupNamePropertyInfo = * ~ Text Source | |
type AttrAllowedOps ActionGroupNamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getActionGroupName :: (MonadIO m, ActionGroupK o) => o -> m Text Source
Sensitive
data ActionGroupSensitivePropertyInfo Source
AttrInfo ActionGroupSensitivePropertyInfo Source | |
type AttrLabel ActionGroupSensitivePropertyInfo = "ActionGroup::sensitive" Source | |
type AttrGetType ActionGroupSensitivePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ActionGroupSensitivePropertyInfo = ActionGroupK Source | |
type AttrSetTypeConstraint ActionGroupSensitivePropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ActionGroupSensitivePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getActionGroupSensitive :: (MonadIO m, ActionGroupK o) => o -> m Bool Source
setActionGroupSensitive :: (MonadIO m, ActionGroupK o) => o -> Bool -> m () Source
Visible
data ActionGroupVisiblePropertyInfo Source
AttrInfo ActionGroupVisiblePropertyInfo Source | |
type AttrLabel ActionGroupVisiblePropertyInfo = "ActionGroup::visible" Source | |
type AttrGetType ActionGroupVisiblePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ActionGroupVisiblePropertyInfo = ActionGroupK Source | |
type AttrSetTypeConstraint ActionGroupVisiblePropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ActionGroupVisiblePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getActionGroupVisible :: (MonadIO m, ActionGroupK o) => o -> m Bool Source
setActionGroupVisible :: (MonadIO m, ActionGroupK o) => o -> Bool -> m () Source
Signals
ConnectProxy
type ActionGroupConnectProxyCallback = Action -> Widget -> IO () Source
type ActionGroupConnectProxyCallbackC = Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO () Source
actionGroupConnectProxyCallbackWrapper :: ActionGroupConnectProxyCallback -> Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO () Source
afterActionGroupConnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupConnectProxyCallback -> m SignalHandlerId Source
mkActionGroupConnectProxyCallback :: ActionGroupConnectProxyCallbackC -> IO (FunPtr ActionGroupConnectProxyCallbackC) Source
onActionGroupConnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupConnectProxyCallback -> m SignalHandlerId Source
DisconnectProxy
type ActionGroupDisconnectProxyCallback = Action -> Widget -> IO () Source
type ActionGroupDisconnectProxyCallbackC = Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO () Source
actionGroupDisconnectProxyCallbackWrapper :: ActionGroupDisconnectProxyCallback -> Ptr () -> Ptr Action -> Ptr Widget -> Ptr () -> IO () Source
afterActionGroupDisconnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupDisconnectProxyCallback -> m SignalHandlerId Source
mkActionGroupDisconnectProxyCallback :: ActionGroupDisconnectProxyCallbackC -> IO (FunPtr ActionGroupDisconnectProxyCallbackC) Source
onActionGroupDisconnectProxy :: (GObject a, MonadIO m) => a -> ActionGroupDisconnectProxyCallback -> m SignalHandlerId Source
PostActivate
type ActionGroupPostActivateCallback = Action -> IO () Source
actionGroupPostActivateCallbackWrapper :: ActionGroupPostActivateCallback -> Ptr () -> Ptr Action -> Ptr () -> IO () Source
afterActionGroupPostActivate :: (GObject a, MonadIO m) => a -> ActionGroupPostActivateCallback -> m SignalHandlerId Source
mkActionGroupPostActivateCallback :: ActionGroupPostActivateCallbackC -> IO (FunPtr ActionGroupPostActivateCallbackC) Source
onActionGroupPostActivate :: (GObject a, MonadIO m) => a -> ActionGroupPostActivateCallback -> m SignalHandlerId Source
PreActivate
type ActionGroupPreActivateCallback = Action -> IO () Source
actionGroupPreActivateCallbackWrapper :: ActionGroupPreActivateCallback -> Ptr () -> Ptr Action -> Ptr () -> IO () Source
afterActionGroupPreActivate :: (GObject a, MonadIO m) => a -> ActionGroupPreActivateCallback -> m SignalHandlerId Source
mkActionGroupPreActivateCallback :: ActionGroupPreActivateCallbackC -> IO (FunPtr ActionGroupPreActivateCallbackC) Source
onActionGroupPreActivate :: (GObject a, MonadIO m) => a -> ActionGroupPreActivateCallback -> m SignalHandlerId Source