Function

IdeShortcutInfoforeach

Declaration

void
ide_shortcut_info_foreach (
  GListModel* shortcuts,
  IdeShortcutInfoFunc func,
  gpointer func_data
)

Description

Calls func for every shortcut info. Accelerators come from shortcuts by matching action and target.

Parameters

shortcuts

Type: GObject

A GListModel of GtkShortcut.

The data is owned by the caller of the function.
func

Type: IdeShortcutInfoFunc

A callback for each shortcut info.

func_data

Type: gpointer

Closure data for func.

The argument can be NULL.
The data is owned by the caller of the function.