Compilation Units
Tagged Types
Triggers when a specific mnemonic is pressed.
Mnemonics require a mnemonic modifier (typically <kbd>Alt</kbd>) to be pressed together with the mnemonic key.
function Get_Keyval
(Self : not null access Gtk_Mnemonic_Trigger_Record) return Guint
Gets the keyval that must be pressed to succeed triggering Self.
the keyval
function Get_Type return Glib.GType
type Gtk_Mnemonic_Trigger is access all Gtk_Mnemonic_Trigger_Record'Class;
function Gtk_Mnemonic_Trigger_New
(Keyval : Guint) return Gtk_Mnemonic_Trigger
Creates a GtkShortcutTrigger that will trigger whenever the key with the given Keyval is pressed and mnemonics have been activated. Mnemonics are activated by calling code when a key event with the right modifiers is detected.
The keyval to trigger for
type Gtk_Mnemonic_Trigger_Record is new Gtk_Shortcut_Trigger_Record with null record;
procedure Gtk_New (Self : out Gtk_Mnemonic_Trigger; Keyval : Guint)
Creates a GtkShortcutTrigger that will trigger whenever the key with the given Keyval is pressed and mnemonics have been activated. Mnemonics are activated by calling code when a key event with the right modifiers is detected. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The keyval to trigger for
procedure Initialize
(Self : not null access Gtk_Mnemonic_Trigger_Record'Class;
Keyval : Guint)
Creates a GtkShortcutTrigger that will trigger whenever the key with the given Keyval is pressed and mnemonics have been activated. Mnemonics are activated by calling code when a key event with the right modifiers is detected. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The keyval to trigger for
Keyval_Property : constant Glib.Properties.Property_Uint;
The key value for the trigger.