Krita Source Code Documentation
Loading...
Searching...
No Matches
krita.api Namespace Reference

Functions

 qDebug (text)
 

Detailed Description

Provide shortcuts to access krita internals from plugins

Function Documentation

◆ qDebug()

krita.api.qDebug ( text)
Use KDE way to show debug info

    TODO Add a way to control debug output from partucular plugins (?)

Definition at line 18 of file api.py.

18def qDebug(text):
19 '''Use KDE way to show debug info
20
21 TODO Add a way to control debug output from partucular plugins (?)
22 '''
23 plugin = sys._getframe(1).f_globals['__name__']
24 pykrita.qDebug('{}: {}'.format(plugin, text))