enthought / pyface

pyface: traits-capable windowing framework
Other
105 stars 55 forks source link

ListeningAction should also be able to track a checked state #1083

Open corranwebster opened 2 years ago

corranwebster commented 2 years ago

Currently a listening action can delegate its enabled and visible states to traits on the object that it is listening to. There are use-cases where similar behaviour is needed for the checked state. This should be straightforward to do.