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.Gtk.Objects.ShortcutsSection
Description
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 :: (MonadIO m, IsShortcutsSection o) => o -> m ShortcutsSection
- noShortcutsSection :: Maybe ShortcutsSection
- constructShortcutsSectionMaxHeight :: IsShortcutsSection o => Word32 -> IO (GValueConstruct o)
- getShortcutsSectionMaxHeight :: (MonadIO m, IsShortcutsSection o) => o -> m Word32
- setShortcutsSectionMaxHeight :: (MonadIO m, IsShortcutsSection o) => o -> Word32 -> m ()
- 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 ()
- 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 ()
- 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 ()
- type C_ShortcutsSectionChangeCurrentPageCallback = Ptr () -> Int32 -> Ptr () -> IO CInt
- type ShortcutsSectionChangeCurrentPageCallback = Int32 -> IO Bool
- afterShortcutsSectionChangeCurrentPage :: (IsShortcutsSection a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId
- genClosure_ShortcutsSectionChangeCurrentPage :: ShortcutsSectionChangeCurrentPageCallback -> IO Closure
- mk_ShortcutsSectionChangeCurrentPageCallback :: C_ShortcutsSectionChangeCurrentPageCallback -> IO (FunPtr C_ShortcutsSectionChangeCurrentPageCallback)
- noShortcutsSectionChangeCurrentPageCallback :: Maybe ShortcutsSectionChangeCurrentPageCallback
- onShortcutsSectionChangeCurrentPage :: (IsShortcutsSection a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId
- wrap_ShortcutsSectionChangeCurrentPageCallback :: ShortcutsSectionChangeCurrentPageCallback -> Ptr () -> Int32 -> Ptr () -> IO CInt
Exported types
newtype ShortcutsSection Source #
Constructors
ShortcutsSection (ManagedPtr ShortcutsSection) |
Instances
class GObject o => IsShortcutsSection o Source #
Instances
toShortcutsSection :: (MonadIO m, IsShortcutsSection o) => o -> m ShortcutsSection Source #
Properties
maxHeight
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 #
sectionName
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 #
title
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 #
viewName
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 #
Signals
changeCurrentPage
afterShortcutsSectionChangeCurrentPage :: (IsShortcutsSection 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 :: (IsShortcutsSection a, MonadIO m) => a -> ShortcutsSectionChangeCurrentPageCallback -> m SignalHandlerId Source #
wrap_ShortcutsSectionChangeCurrentPageCallback :: ShortcutsSectionChangeCurrentPageCallback -> Ptr () -> Int32 -> Ptr () -> IO CInt Source #