Widget.addOnCanActivateAccel

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.

class Widget
gulong
addOnCanActivateAccel
(
bool delegate
(
uint
,)
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

TRUE if the signal can be activated.