enthought / pyface

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

Clean up `ImageResource` usage, use `IImage` where possible #1106

Open corranwebster opened 2 years ago

corranwebster commented 2 years ago

Currently the usage of ImageResources is very ad-hoc - there is a lot of custom caching and storing of name to toolkit object lookups, which is what the Pyface IImage, the Image trait and friends are supposed to handle. This should be cleaned up to: