AccelLabel.setAccelClosure

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

class AccelLabel
void
setAccelClosure

Parameters

accelClosure Closure

the closure to monitor for accelerator changes, or NULL