Registered Member
|
Hi. I'm writing a python program which responds to org.kde.ScreenSaver signals and methods. I'm a beginner at this. What I want to do is trivial and there are code examples on the web; I'm not stuck wit the coding. But what I can't find is the API documentation.
Despite a lot of looking, I'm lost about where to find documentation which defines the API. I know there are software browsers showing me what signals and methods are available, which is great, but it's not the same as documentation. Gnome has just what I'm looking for, except that it's for gnome, but it shows what I'm trying to find. http://people.gnome.org/~mccann/gnome-s ... saver.html So, where is this for KDE? regards Tim |
Registered Member
|
Damnshock, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
yes, I tried that earlier. Your link returns
No results found! which was the same result that I got. But thanks for trying. |
Administrator
|
The org.kde.screensaver service is provided by KRunner. I would suggest checking it's source code for documentation.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I understood that was precisely what he did not want to do :S I guess it's the only option though
Damnshock, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
http://geekandpoke.typepad.com/geekandp ... coder.html The code actually has some documentation in it. No idea why this isn't exported to api.kde.org: http://quickgit.kde.org/?p=kde-workspac ... erengine.h Anyways, stuff like the screensaver API is defined by freedesktop.org. KDE's screensaver has just the same API as org.gnome.ScreenSaver or org.freedesktop.ScreenSaver. There might be small KDE-specific additions though. In this case setupPlasma() for example is one of them. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft