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 |
A binding set maintains a list of activatable key bindings. A single binding set can match multiple types of widgets. Similar to style contexts, can be matched by any information contained in a widgets #GtkWidgetPath. When a binding within a set is matched upon activation, an action signal is emitted on the target widget to carry out the actual activation.
- newtype BindingSet = BindingSet (ForeignPtr BindingSet)
- noBindingSet :: Maybe BindingSet
- bindingSetActivate :: (MonadIO m, ObjectK a) => BindingSet -> Word32 -> [ModifierType] -> a -> m Bool
- bindingSetAddPath :: MonadIO m => BindingSet -> PathType -> Text -> PathPriorityType -> m ()
- bindingSetReadClassBranchPspecs :: BindingSet -> IO [Ptr ()]
- bindingSetReadCurrent :: BindingSet -> IO BindingEntry
- bindingSetReadEntries :: BindingSet -> IO BindingEntry
- bindingSetReadParsed :: BindingSet -> IO Word32
- bindingSetReadPriority :: BindingSet -> IO Int32
- bindingSetReadSetName :: BindingSet -> IO Text
- bindingSetReadWidgetClassPspecs :: BindingSet -> IO [Ptr ()]
- bindingSetReadWidgetPathPspecs :: BindingSet -> IO [Ptr ()]
Exported types
newtype BindingSet Source
Methods
bindingSetActivate
bindingSetActivate :: (MonadIO m, ObjectK a) => BindingSet -> Word32 -> [ModifierType] -> a -> m Bool Source
bindingSetAddPath
bindingSetAddPath :: MonadIO m => BindingSet -> PathType -> Text -> PathPriorityType -> m () Source
Deprecated: (Since version 3.0)
Properties
ClassBranchPspecs
bindingSetReadClassBranchPspecs :: BindingSet -> IO [Ptr ()] Source
Current
Entries
Parsed
Priority
SetName
WidgetClassPspecs
bindingSetReadWidgetClassPspecs :: BindingSet -> IO [Ptr ()] Source
WidgetPathPspecs
bindingSetReadWidgetPathPspecs :: BindingSet -> IO [Ptr ()] Source