Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The GtkShortcutManager interface is used to implement shortcut scopes.
This is important for Native
widgets that have their own surface,
since the event controllers that are used to implement managed and
global scopes are limited to the same native.
Examples for widgets implementing ShortcutManager
are Window
and Popover
.
Synopsis
- newtype ShortcutManager = ShortcutManager (ManagedPtr ShortcutManager)
- class (GObject o, IsDescendantOf ShortcutManager o) => IsShortcutManager o
- toShortcutManager :: (MonadIO m, IsShortcutManager o) => o -> m ShortcutManager
Exported types
newtype ShortcutManager Source #
Memory-managed wrapper type.
ShortcutManager (ManagedPtr ShortcutManager) |
Instances
Eq ShortcutManager Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager (==) :: ShortcutManager -> ShortcutManager -> Bool # (/=) :: ShortcutManager -> ShortcutManager -> Bool # | |
GObject ShortcutManager Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager | |
ManagedPtrNewtype ShortcutManager Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager toManagedPtr :: ShortcutManager -> ManagedPtr ShortcutManager | |
TypedObject ShortcutManager Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager | |
HasParentTypes ShortcutManager Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager | |
IsGValue (Maybe ShortcutManager) Source # | Convert |
Defined in GI.Gtk.Interfaces.ShortcutManager gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ShortcutManager -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ShortcutManager) | |
type ParentTypes ShortcutManager Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager |
class (GObject o, IsDescendantOf ShortcutManager o) => IsShortcutManager o Source #
Type class for types which can be safely cast to ShortcutManager
, for instance with toShortcutManager
.
Instances
(GObject o, IsDescendantOf ShortcutManager o) => IsShortcutManager o Source # | |
Defined in GI.Gtk.Interfaces.ShortcutManager |
toShortcutManager :: (MonadIO m, IsShortcutManager o) => o -> m ShortcutManager Source #
Cast to ShortcutManager
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.