Gtk.Widget::can-activate-accel

function callback(widget, signal_id:Number, ):Boolean;

Determines whether an accelerator that activates the signal identified by signal_id can currently be activated. This signal is present to allow applications and derived widgets to override the default Gtk.Widget handling for determining whether an accelerator can be activated.

widget

instance of Gtk.Widget that is emitting the signal

signal_id

the ID of a signal installed on @widget

Returns

true if the signal can be activated.