pyface icon indicating copy to clipboard operation
pyface copied to clipboard

Clean up trait definitions on toolkit implementation classes

Open corranwebster opened this issue 2 years ago • 0 comments

Because the various mixin classes were not necessarily HasTraits classes until recently, a lot of toolkit implementation classes duplicate the trait definitions from the mixin. This shouldn't be needed unless there is something toolkit-specific needed for the trait in the concrete class (eg. it is storing a toolkit object) or (very) occasionally if there are issues because of the way that Traits resolves class traits from super classes when there is multiple inheritance.

We should remove all duplicated trait definitions that we can.

corranwebster avatar Sep 09 '21 09:09 corranwebster