Action.setAccelPath

void setAccelPath(string accelPath)

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 [glib.global.internStaticString].

Parameters

accelPaththe accelerator path

Deprecated

Use #GAction and the accelerator path on an associated

#GtkMenu instead