Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • D developer.puri.sm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • David Boddie
  • developer.puri.sm
  • Wiki
  • D Bus examples

D Bus examples · Changes

Page history
Document unconventional example definitions. authored Mar 12, 2019 by David Boddie's avatar David Boddie
Hide whitespace changes
Inline Side-by-side
D-Bus-examples.md
View page @ bef5bd62
......@@ -60,6 +60,13 @@ proxy = Gio.DBusProxy.new_sync(bus, Gio.DBusProxyFlags.NONE, None, 'org.freedesk
res = proxy.call_sync('Introspect', None, Gio.DBusCallFlags.NO_AUTO_START, 500, None)
```
## Notes on dbus module examples
The [example-service.py](https://cgit.freedesktop.org/dbus/dbus-python/tree/examples/example-service.py) example defines a name on the bus of `com.example.SampleService` but defines a path of `/SomeObject`, which is unusual. It means that you need to, for example, inspect it like this:
```
gdbus introspect --session --dest com.example.SampleService --object-path /SomeObject
```
## References
* https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
......
Clone repository
  • Changing the Phosh Wallpaper
  • D Bus examples
  • Debugging Python applications in flatpaks
  • Developer Documentation Overview
  • Devkit I2C Notes
  • Devkit notes
  • Documenting Applications
  • PyGObject Development Notes
  • Home