Signal

GtkWidget::can-activate-accel

Declaration

gboolean
can_activate_accel (
  GtkWidget* self,
  guint signal_id,
  gpointer user_data
)

Description [src]

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 GtkWidget handling for determining whether an accelerator can be activated.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

signal_id

Type: guint

The ID of a signal installed on widget.

Return value

Type: gboolean

TRUE if the signal can be activated.