set_accel_path


Description:

[ Version ( since = "2.4" ) ]
public void set_accel_path (string accel_path)

Sets the accel path for this action.

Note:

Use Action and the accelerator path on an associated Menu instead

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 Quark. Therefore, if you pass a static string, you can save some memory by interning it first with g_intern_static_string.

Parameters:

this

the action object

accel_path

the accelerator path




2022 vala-language.org