summaryrefslogtreecommitdiff
path: root/python/examples/example-client.py
blob: 24906b83a19cc66984c80cc85f820476fb1a6b6b (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env python

import dbus

bus = dbus.Bus()
remote_service = bus.get_service("org.designfu.SampleService")
remote_object = remote_service.get_object("/MyObject", "org.designfu.SampleInterface")

remote_object.HelloWorld("Hello from example-client.py!")