Hacking notes
Prev
Next

Hacking notes

The Kbtv DCOP interface


Kbtv DCOP functions (kdcop screenshot)

DCOP is the KDE protocol for inter-process communication between two KDE apps. It means that you can script a KDE app through DCOP or access a running instance from another application directly. Kbtv exports all GUI actions and some other get/set methods, providing a complete DCOP interface. You can display and play with them using the kdcop app or the dcop command line utility that both come with KDE.

Please note that the above screenshot may be outdated. Always look at (k)dcop's output or the kbtv_dcop.py module if you want to be current.

The Kbtv modules

All Python modules are liberally documented with docstrings. To extract them to HTML files use pydoc -w module_name. There's also quite a lot of comments in the code. The non-GUI modules can be used seperately as building blocks for another app. All of Kbtv is BSD licensed. Happy hacking!

Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team