gi-gtk-4.0.9: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Interfaces.ShortcutManager

Description

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 GtkShortcutManager are Window and Popover.

Every widget that implements GtkShortcutManager will be used as a ShortcutScopeManaged.

Synopsis

Exported types

newtype ShortcutManager Source #

Memory-managed wrapper type.

Constructors

ShortcutManager (ManagedPtr ShortcutManager) 

Instances

Instances details
Eq ShortcutManager Source # 
Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

GObject ShortcutManager Source # 
Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

ManagedPtrNewtype ShortcutManager Source # 
Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

TypedObject ShortcutManager Source # 
Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

Methods

glibType :: IO GType

HasParentTypes ShortcutManager Source # 
Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

IsGValue (Maybe ShortcutManager) Source #

Convert ShortcutManager to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe ShortcutManager -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe ShortcutManager)

type ParentTypes ShortcutManager Source # 
Instance details

Defined in GI.Gtk.Interfaces.ShortcutManager

type ParentTypes ShortcutManager = '[Object]

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

Instances details
(GObject o, IsDescendantOf ShortcutManager o) => IsShortcutManager o Source # 
Instance details

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