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 GtkShortcutsSection collects all the keyboard shortcuts and gestures
for a major application mode. If your application needs multiple sections,
you should give each section a unique ShortcutsSection
:section-name
and
a ShortcutsSection
:title
that can be shown in the section selector of
the GtkShortcutsWindow.
The ShortcutsSection
:max-height
property can be used to influence how
the groups in the section are distributed over pages and columns.
This widget is only meant to be used with ShortcutsWindow
.
- newtype ShortcutsSection = ShortcutsSection (ManagedPtr ShortcutsSection)
- class GObject o => IsShortcutsSection o
- toShortcutsSection :: IsShortcutsSection o => o -> IO ShortcutsSection
- noShortcutsSection :: Maybe ShortcutsSection
- data ShortcutsSectionMaxHeightPropertyInfo
- constructShortcutsSectionMaxHeight :: IsShortcutsSection o => Word32 -> IO (GValueConstruct o)
- getShortcutsSectionMaxHeight :: (MonadIO m, IsShortcutsSection o) => o -> m Word32
- setShortcutsSectionMaxHeight :: (MonadIO m, IsShortcutsSection o) => o -> Word32 -> m ()
- shortcutsSectionMaxHeight :: AttrLabelProxy "maxHeight"
- data ShortcutsSectionSectionNamePropertyInfo
- clearShortcutsSectionSectionName :: (MonadIO m, IsShortcutsSection o) => o -> m ()
- constructShortcutsSectionSectionName :: IsShortcutsSection o => Text -> IO (GValueConstruct o)
- getShortcutsSectionSectionName :: (MonadIO m, IsShortcutsSection o) => o -> m (Maybe Text)
- setShortcutsSectionSectionName :: (MonadIO m, IsShortcutsSection o) => o -> Text -> m ()
- shortcutsSectionSectionName :: AttrLabelProxy "sectionName"
- data ShortcutsSectionTitlePropertyInfo
- clearShortcutsSectionTitle :: (MonadIO m, IsShortcutsSection o) => o -> m ()
- constructShortcutsSectionTitle :: IsShortcutsSection o => Text -> IO (GValueConstruct o)
- getShortcutsSectionTitle :: (MonadIO m, IsShortcutsSection o) => o -> m (Maybe Text)
- setShortcutsSectionTitle :: (MonadIO m, IsShortcutsSection o) => o -> Text -> m ()
- shortcutsSectionTitle :: AttrLabelProxy "title"
- data ShortcutsSectionViewNamePropertyInfo
- clearShortcutsSectionViewName :: (MonadIO m, IsShortcutsSection o) => o -> m ()
- constructShortcutsSectionViewName :: IsShortcutsSection o => Text -> IO (GValueConstruct o)
- getShortcutsSectionViewName :: (MonadIO m, IsShortcutsSection o) => o -> m (Maybe Text)
- setShortcutsSectionViewName :: (MonadIO m, IsShortcutsSection o) => o -> Text -> m ()
- shortcutsSectionViewName :: AttrLabelProxy "viewName"
- type C_ShortcutsSectionChangeCurrentPageCallback = Ptr () -> Int32 -> Ptr () -> IO CInt
- type ShortcutsSectionChangeCurrentPageCallback = Int32 -> IO Bool
- data ShortcutsSectionChangeCurrentPageSignalInfo
- afterShortcutsSectionChangeCurrentPage :: (GObject a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId
- genClosure_ShortcutsSectionChangeCurrentPage :: ShortcutsSectionChangeCurrentPageCallback -> IO Closure
- mk_ShortcutsSectionChangeCurrentPageCallback :: C_ShortcutsSectionChangeCurrentPageCallback -> IO (FunPtr C_ShortcutsSectionChangeCurrentPageCallback)
- noShortcutsSectionChangeCurrentPageCallback :: Maybe ShortcutsSectionChangeCurrentPageCallback
- onShortcutsSectionChangeCurrentPage :: (GObject a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId
- wrap_ShortcutsSectionChangeCurrentPageCallback :: ShortcutsSectionChangeCurrentPageCallback -> Ptr () -> Int32 -> Ptr () -> IO CInt
Exported types
newtype ShortcutsSection Source #
GObject ShortcutsSection Source # | |
IsImplementorIface ShortcutsSection Source # | |
IsObject ShortcutsSection Source # | |
IsWidget ShortcutsSection Source # | |
IsContainer ShortcutsSection Source # | |
IsBox ShortcutsSection Source # | |
IsOrientable ShortcutsSection Source # | |
IsBuildable ShortcutsSection Source # | |
IsShortcutsSection ShortcutsSection Source # | |
((~) * info (ResolveShortcutsSectionMethod t ShortcutsSection), MethodInfo * info ShortcutsSection p) => IsLabel t (ShortcutsSection -> p) Source # | |
((~) * info (ResolveShortcutsSectionMethod t ShortcutsSection), MethodInfo * info ShortcutsSection p) => IsLabelProxy t (ShortcutsSection -> p) Source # | |
HasAttributeList * ShortcutsSection Source # | |
type AttributeList ShortcutsSection Source # | |
type SignalList ShortcutsSection Source # | |
class GObject o => IsShortcutsSection o Source #
toShortcutsSection :: IsShortcutsSection o => o -> IO ShortcutsSection Source #
Properties
maxHeight
data ShortcutsSectionMaxHeightPropertyInfo Source #
constructShortcutsSectionMaxHeight :: IsShortcutsSection o => Word32 -> IO (GValueConstruct o) Source #
getShortcutsSectionMaxHeight :: (MonadIO m, IsShortcutsSection o) => o -> m Word32 Source #
setShortcutsSectionMaxHeight :: (MonadIO m, IsShortcutsSection o) => o -> Word32 -> m () Source #
shortcutsSectionMaxHeight :: AttrLabelProxy "maxHeight" Source #
sectionName
data ShortcutsSectionSectionNamePropertyInfo Source #
clearShortcutsSectionSectionName :: (MonadIO m, IsShortcutsSection o) => o -> m () Source #
constructShortcutsSectionSectionName :: IsShortcutsSection o => Text -> IO (GValueConstruct o) Source #
getShortcutsSectionSectionName :: (MonadIO m, IsShortcutsSection o) => o -> m (Maybe Text) Source #
setShortcutsSectionSectionName :: (MonadIO m, IsShortcutsSection o) => o -> Text -> m () Source #
shortcutsSectionSectionName :: AttrLabelProxy "sectionName" Source #
title
data ShortcutsSectionTitlePropertyInfo Source #
clearShortcutsSectionTitle :: (MonadIO m, IsShortcutsSection o) => o -> m () Source #
constructShortcutsSectionTitle :: IsShortcutsSection o => Text -> IO (GValueConstruct o) Source #
getShortcutsSectionTitle :: (MonadIO m, IsShortcutsSection o) => o -> m (Maybe Text) Source #
setShortcutsSectionTitle :: (MonadIO m, IsShortcutsSection o) => o -> Text -> m () Source #
shortcutsSectionTitle :: AttrLabelProxy "title" Source #
viewName
data ShortcutsSectionViewNamePropertyInfo Source #
clearShortcutsSectionViewName :: (MonadIO m, IsShortcutsSection o) => o -> m () Source #
constructShortcutsSectionViewName :: IsShortcutsSection o => Text -> IO (GValueConstruct o) Source #
getShortcutsSectionViewName :: (MonadIO m, IsShortcutsSection o) => o -> m (Maybe Text) Source #
setShortcutsSectionViewName :: (MonadIO m, IsShortcutsSection o) => o -> Text -> m () Source #
shortcutsSectionViewName :: AttrLabelProxy "viewName" Source #
Signals
changeCurrentPage
afterShortcutsSectionChangeCurrentPage :: (GObject a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId Source #
genClosure_ShortcutsSectionChangeCurrentPage :: ShortcutsSectionChangeCurrentPageCallback -> IO Closure Source #
mk_ShortcutsSectionChangeCurrentPageCallback :: C_ShortcutsSectionChangeCurrentPageCallback -> IO (FunPtr C_ShortcutsSectionChangeCurrentPageCallback) Source #
noShortcutsSectionChangeCurrentPageCallback :: Maybe ShortcutsSectionChangeCurrentPageCallback Source #
onShortcutsSectionChangeCurrentPage :: (GObject a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId Source #
wrap_ShortcutsSectionChangeCurrentPageCallback :: ShortcutsSectionChangeCurrentPageCallback -> Ptr () -> Int32 -> Ptr () -> IO CInt Source #