module Gtk::ShortcutManager

Overview

The Gtk::ShortcutManager interface is used to implement shortcut scopes.

This is important for Gtk::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 Gtk::ShortcutManager are Gtk::Window and Gtk::Popover.

Every widget that implements Gtk::ShortcutManager will be used as a %GTK_SHORTCUT_SCOPE_MANAGED.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/shortcut_manager.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


[View source]

Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

[View source]
def self.g_type : UInt64 #

[View source]

Instance Method Detail

abstract def to_unsafe #

[View source]