Compilation Units
Tagged Types
Triggers when a specific keyval and modifiers are pressed.
function Get_Keyval
(Self : not null access Gtk_Keyval_Trigger_Record) return Guint
Gets the keyval that must be pressed to succeed triggering Self.
the keyval
function Get_Modifiers
(Self : not null access Gtk_Keyval_Trigger_Record)
return Gdk.Enums.Gdk_Modifier_Type
Gets the modifiers that must be present to succeed triggering Self.
the modifiers
function Get_Type return Glib.GType
type Gtk_Keyval_Trigger is access all Gtk_Keyval_Trigger_Record'Class;
function Gtk_Keyval_Trigger_New
(Keyval : Guint;
Modifiers : Gdk.Enums.Gdk_Modifier_Type) return Gtk_Keyval_Trigger
Creates a GtkShortcutTrigger that will trigger whenever the key with the given Keyval and Modifiers is pressed.
The keyval to trigger for
the modifiers that need to be present
type Gtk_Keyval_Trigger_Record is new Gtk_Shortcut_Trigger_Record with null record;
procedure Gtk_New
(Self : out Gtk_Keyval_Trigger;
Keyval : Guint;
Modifiers : Gdk.Enums.Gdk_Modifier_Type)
Creates a GtkShortcutTrigger that will trigger whenever the key with the given Keyval and Modifiers is pressed. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The keyval to trigger for
the modifiers that need to be present
procedure Initialize
(Self : not null access Gtk_Keyval_Trigger_Record'Class;
Keyval : Guint;
Modifiers : Gdk.Enums.Gdk_Modifier_Type)
Creates a GtkShortcutTrigger that will trigger whenever the key with the given Keyval and Modifiers is pressed. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The keyval to trigger for
the modifiers that need to be present
Keyval_Property : constant Glib.Properties.Property_Uint;
The key value for the trigger.
Modifiers_Property : constant Gdk.Enums.Property_Gdk_Modifier_Type;
Type: Gdk.Enums.Gdk_Modifier_Type The key modifiers for the trigger.