I have opened an xcf file "BY HAND" in Gimp.
How can i close this file (that is also the current view/display) without beeing asked if i want to save it.
I need the register function to give me the "current Display" something like PF_Display ... (like image and drawable)
Then i would go and use:
pdb.gimp_display_delete(display)
How can i get the SAME result as pressing "CTRL + W" or pressing on the "x" button?
So far nothing worked for me:
1: gimp.pdb.gimp_image_delete(image)
2: display = pdb.gimp_display_new(image)
pdb.gimp_display_delete(display)
3: use of image.clean_all() in combination with 1: and 2:
This is so basic, i googled alot already, nothing helped me, i fail...