superkaramba
KarambaPython Class Reference
#include <karamba.h>
Detailed Description
Definition at line 40 of file python/karamba.h.
Public Member Functions | |
| bool | activeTaskChanged (Karamba *k, Task *t) |
| bool | commandFinished (Karamba *k, int pid) |
| bool | commandOutput (Karamba *k, int pid, char *buffer) |
| bool | desktopChanged (Karamba *k, int desktop) |
| bool | initWidget (Karamba *k) |
| bool | isExtensionLoaded () |
| bool | itemDropped (Karamba *k, QString text, int x, int y) |
| KarambaPython (const ThemeFile &theme, bool reloading) | |
| bool | keyPressed (Karamba *k, const Meter *meter, const QString &text) |
| bool | menuItemClicked (Karamba *k, KMenu *menu, long id) |
| bool | menuOptionChanged (Karamba *k, QString key, bool value) |
| bool | meterClicked (Karamba *k, QString anchor, int button) |
| bool | meterClicked (Karamba *k, Meter *meter, int button) |
| bool | startupAdded (Karamba *k, Startup *t) |
| bool | startupRemoved (Karamba *k, Startup *t) |
| bool | systrayUpdated (Karamba *k) |
| bool | taskAdded (Karamba *k, Task *t) |
| bool | taskRemoved (Karamba *k, Task *t) |
| bool | themeNotify (Karamba *k, const char *from, const char *txt) |
| bool | wallpaperChanged (Karamba *k, int desktop) |
| bool | widgetClicked (Karamba *k, int x, int y, int button) |
| bool | widgetClosed (Karamba *k) |
| bool | widgetMouseMoved (Karamba *k, int x, int y, int button) |
| bool | widgetUpdated (Karamba *k) |
| ~KarambaPython () | |
Static Public Member Functions | |
| static void | initPython () |
| static void | shutdownPython () |
Protected Member Functions | |
| bool | callObject (const char *func, PyObject *pArgs, bool lock=true) |
| PyObject * | getFunc (const char *function) |
| void | getLock (PyThreadState **myThreadState) |
| void | releaseLock (PyThreadState *myThreadState) |
Protected Attributes | |
| PyObject * | pDict |
| PyObject * | pModule |
| PyObject * | pName |
| bool | pythonThemeExtensionLoaded |
Static Protected Attributes | |
| static PyThreadState * | mainThreadState = 0 |
Constructor & Destructor Documentation
| KarambaPython::KarambaPython | ( | const ThemeFile & | theme, | |
| bool | reloading | |||
| ) |
Definition at line 346 of file python/karamba.cpp.
| KarambaPython::~KarambaPython | ( | ) |
Definition at line 397 of file python/karamba.cpp.
Member Function Documentation
Definition at line 557 of file python/karamba.cpp.
| bool KarambaPython::callObject | ( | const char * | func, | |
| PyObject * | pArgs, | |||
| bool | lock = true | |||
| ) | [protected] |
Definition at line 468 of file python/karamba.cpp.
| bool KarambaPython::commandFinished | ( | Karamba * | k, | |
| int | pid | |||
| ) |
Definition at line 593 of file python/karamba.cpp.
| bool KarambaPython::commandOutput | ( | Karamba * | k, | |
| int | pid, | |||
| char * | buffer | |||
| ) |
Definition at line 587 of file python/karamba.cpp.
| bool KarambaPython::desktopChanged | ( | Karamba * | k, | |
| int | desktop | |||
| ) |
Definition at line 622 of file python/karamba.cpp.
| PyObject * KarambaPython::getFunc | ( | const char * | function | ) | [protected] |
Definition at line 460 of file python/karamba.cpp.
| void KarambaPython::getLock | ( | PyThreadState ** | myThreadState | ) | [protected] |
Definition at line 438 of file python/karamba.cpp.
| KDE_EXPORT void KarambaPython::initPython | ( | ) | [static] |
Definition at line 412 of file python/karamba.cpp.
| bool KarambaPython::initWidget | ( | Karamba * | k | ) |
Definition at line 496 of file python/karamba.cpp.
| bool KarambaPython::isExtensionLoaded | ( | ) | [inline] |
Definition at line 60 of file python/karamba.h.
Definition at line 599 of file python/karamba.cpp.
Definition at line 544 of file python/karamba.cpp.
| bool KarambaPython::menuItemClicked | ( | Karamba * | k, | |
| KMenu * | menu, | |||
| long | id | |||
| ) |
Definition at line 520 of file python/karamba.cpp.
Definition at line 514 of file python/karamba.cpp.
Definition at line 532 of file python/karamba.cpp.
Definition at line 526 of file python/karamba.cpp.
| void KarambaPython::releaseLock | ( | PyThreadState * | myThreadState | ) | [protected] |
Definition at line 448 of file python/karamba.cpp.
| KDE_EXPORT void KarambaPython::shutdownPython | ( | ) | [static] |
Definition at line 427 of file python/karamba.cpp.
Definition at line 575 of file python/karamba.cpp.
Definition at line 581 of file python/karamba.cpp.
| bool KarambaPython::systrayUpdated | ( | Karamba * | k | ) |
Definition at line 616 of file python/karamba.cpp.
Definition at line 563 of file python/karamba.cpp.
Definition at line 569 of file python/karamba.cpp.
| bool KarambaPython::themeNotify | ( | Karamba * | k, | |
| const char * | from, | |||
| const char * | txt | |||
| ) |
Definition at line 605 of file python/karamba.cpp.
| bool KarambaPython::wallpaperChanged | ( | Karamba * | k, | |
| int | desktop | |||
| ) |
Definition at line 628 of file python/karamba.cpp.
| bool KarambaPython::widgetClicked | ( | Karamba * | k, | |
| int | x, | |||
| int | y, | |||
| int | button | |||
| ) |
Definition at line 538 of file python/karamba.cpp.
| bool KarambaPython::widgetClosed | ( | Karamba * | k | ) |
Definition at line 508 of file python/karamba.cpp.
| bool KarambaPython::widgetMouseMoved | ( | Karamba * | k, | |
| int | x, | |||
| int | y, | |||
| int | button | |||
| ) |
Definition at line 551 of file python/karamba.cpp.
| bool KarambaPython::widgetUpdated | ( | Karamba * | k | ) |
Definition at line 502 of file python/karamba.cpp.
Member Data Documentation
PyThreadState * KarambaPython::mainThreadState = 0 [static, protected] |
Definition at line 46 of file python/karamba.h.
PyObject* KarambaPython::pDict [protected] |
Definition at line 45 of file python/karamba.h.
PyObject * KarambaPython::pModule [protected] |
Definition at line 44 of file python/karamba.h.
PyObject* KarambaPython::pName [protected] |
Definition at line 44 of file python/karamba.h.
bool KarambaPython::pythonThemeExtensionLoaded [protected] |
Definition at line 43 of file python/karamba.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference