Method

GtkAccelLabelset_accel_closure

Declaration [src]

void
gtk_accel_label_set_accel_closure (
  GtkAccelLabel* accel_label,
  GClosure* accel_closure
)

Description [src]

Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group; see gtk_accel_group_connect(). Passing NULL for accel_closure will dissociate accel_label from its current closure, if any.

Parameters

accel_closure

Type: GClosure

The closure to monitor for accelerator changes, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.