Development/Languages/Python/PyKDE DBus Tutorial

< Development‎ | Languages‎ | Python
Revision as of 18:41, 1 April 2009 by Tampakrap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The aim of this tutorial is to give an overview of DBus in the context of python. By the end, the goal is to understand how to find DBus methods in existing applications and how to use them in PyQt4/PyKDE4. It assumes a basic working knowledge of Python and PyKDE4. (see http://www.learningpython.com/2008/09/20/an-introduction-to-pyqt/ and http://techbase.kde.org/Development/Tutorials/Python_introduction_to_signals_and_slots)

Later additions to this tutorial may cover creating and emitting dbus signals.

____WORK IN PROGRESS____

First off, a small introduction to DBus. DBus is an inter-process communication framework. In other words, it allows different applications to talk to each other. DBus uses the concept of signals and methods, which are similar to the Signals and Slots in Qt. You can connect signals to methods, or call methods directly.


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal