Method

GtkActionset_accel_path

Declaration [src]

void
gtk_action_set_accel_path (
  GtkAction* action,
  const gchar* accel_path
)

Description [src]

Sets the accel path for this action. All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent.

Note that accel_path string will be stored in a GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with g_intern_static_string().

Available since:2.4
Deprecated since:3.10

Use GAction and the accelerator path on an associated GtkMenu instead.

Parameters

accel_path

Type: const gchar*

The accelerator path.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.