https://bugs.kde.org/show_bug.cgi?id=393464

Scott Petrovic <scottpetro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WAITINGFORINFO
             Status|REPORTED                    |NEEDSINFO

--- Comment #2 from Scott Petrovic <scottpetro...@gmail.com> ---
This ticket was written a while ago, so apologies for this taking a while to
respond to. We might need a bit more information. This is currently how you set
a view document. Maybe this didn't exist when this bug was created.

newDocument = Krita.instance().createDocument(1280, 1024, "Document name",
"RGBA", "U8", "", 300.0)
Krita.instance().activeWindow().addView(newDocument) # shows it in the
application


The only way I know how to close the view is by closing the file from an
action...

Krita.instance().action('file_close').trigger()


Here is the current API that might help a little
https://api.kde.org/appscomplete-api/krita-apidocs/libs/libkis/html/classWindow.html

For now I going to set to Needs Info and we can figure out what to do next.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to