AccelGroup.disconnect

Removes an accelerator previously installed through gtk.accel_group.AccelGroup.connect.

Since 2.20 closure can be null.

class AccelGroup
bool
disconnect

Parameters

closure gobject.closure.Closure

the closure to remove from this accelerator group, or null to remove all closures

Return Value

Type: bool

true if the closure was found and got disconnected