pyface icon indicating copy to clipboard operation
pyface copied to clipboard

pyface.api should expose interface classes

Open rahulporuri opened this issue 5 years ago • 2 comments

For example, pyface.api does not re-export the IGUI interface class but it exports the GUI implementation/provider.

rahulporuri avatar Sep 28 '20 10:09 rahulporuri

It should; in fact it possibly should expose them separately to the main api.py as well so people can access the interfaces without needing to also import the implementations (and do toolkit selection, etc.). Right now if they want that they have to import from the modules where the interfaces are defined.

corranwebster avatar Sep 28 '20 10:09 corranwebster

another example that was observed recently was IDropHandler.

rahulporuri avatar Aug 09 '21 06:08 rahulporuri