Virtual Method


since: 2.4

Declaration [src]

can_activate_accel (
  GtkWidget* widget,
  guint signal_id

Description [src]

Determines whether an accelerator that activates the signal identified by signal_id can currently be activated. This is done by emitting the GtkWidget::can-activate-accel signal on widget; if the signal isn’t overridden by a handler or in a derived widget, then the default check is that the widget must be sensitive, and the widget and all its ancestors mapped.

Available since: 2.4



Type: guint

The ID of a signal installed on widget.

Return value

Type: gboolean

TRUE if the accelerator can be activated.