procedure Destroy (Data : in out User_Data_Type)
procedure Foreach
(Data : User_Data_Type;
Foreach_Func : Gtk_Accel_Map_Foreach)
Loops over the entries in the accelerator map whose accel path doesn't match any of the filters added with Gtk.Accel_Map.Add_Filter, and execute Foreach_Func on each. The signature of Foreach_Func is that of Gtk_Accel_Map_Foreach, the Changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump).
data to be passed into Foreach_Func
function to be executed for each accel map entry which is not filtered out
type Gtk_Accel_Map_Foreach is access procedure
(Data : User_Data_Type;
Accel_Path : UTF8_String;
Accel_Key : Gdk.Types.Gdk_Key_Type;
Accel_Mods : Gdk.Types.Gdk_Modifier_Type;
Changed : Boolean);
User data passed to Gtk.Accel_Map.Foreach or gtk_accel_map_foreach_unfiltered
Accel path of the current accelerator
Key of the current accelerator
Modifiers of the current accelerator
Changed flag of the accelerator (if True, accelerator has changed during runtime and would need to be saved during an accelerator dump)
type User_Data_Type (<>) is private;