gtkAccelGroupActivate

Share:

Description

Finds the first accelerator in accel.group that matches accel.key and accel.mods, and activates it.

Usage

1
2
gtkAccelGroupActivate(object, accel.quark, acceleratable, accel.key, 
    accel.mods)

Arguments

object

a GtkAccelGroup

accel.quark

the quark for the accelerator name

acceleratable

the GObject, usually a GtkWindow, on which to activate the accelerator.

accel.key

accelerator keyval from a key event

accel.mods

keyboard state mask from a key event

Value

[logical] TRUE if an accelerator was activated and handled this keypress

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.