Feature:Add APIs for obtaining open GimpDisplays, GimpDisplays of GimpImage, and vice versa
Operating System: All
Description of the feature
- Add list_displays() to Gimp to obtain all open GimpDisplays
- Add get_image() to GimpDisplay to obtain the GimpImage that is displayed
- Add get_display() to GimpImage to obtain the GimpDisplay that is displaying the image (if it is being displayed)
OR
- Add list_displays() to GimpImage to obtain the GimpDisplays that are displaying the image (if it is being displayed)
Use cases
It would be useful for plug-ins to access the display of an open image, and vice versa
Edited by Deft Developer