Compilation Units
Tagged Types
An interface that is used to implement shortcut scopes.
This is important for [ifaceGtk.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 [classGtk.Window] and [classGtk.Popover].
Every widget that implements GtkShortcutManager will be used as a GTK_SHORTCUT_SCOPE_MANAGED.
function "+" (W : Gtk_Shortcut_Manager) return Gtk_Shortcut_Manager
function Get_Type return Glib.GType
type Gtk_Shortcut_Manager is new Glib.Types.GType_Interface;
Null_Gtk_Shortcut_Manager : constant Gtk_Shortcut_Manager;
procedure Set_Add_Controller
(Self : Shortcut_Manager_Interface_Descr;
Handler : Virtual_Add_Controller)
procedure Set_Remove_Controller
(Self : Shortcut_Manager_Interface_Descr;
Handler : Virtual_Remove_Controller)
See Glib.Object.Add_Interface
subtype Shortcut_Manager_Interface_Descr is Glib.Object.Interface_Description;
type Virtual_Add_Controller is access procedure (Self : Gtk_Shortcut_Manager; Controller : System.Address);
Add a GtkShortcutController to be managed.
type Virtual_Remove_Controller is access procedure (Self : Gtk_Shortcut_Manager; Controller : System.Address);
Remove a GtkShortcutController that had previously been added