Re: introspection
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
I wrote:
> Which reminds me, I should add another to my DBussy examples, showing
> how you can bypass introspection and do entirely local construction
> of a proxy interface.
Hmm, turns out I have already done an example of this
<https://github.com/ldo/dbussy_examples/blob/master/list_bus_names>:
dbus_daemon = ravel.def_proxy_interface \
(
ravel.INTERFACE.CLIENT,
name = "DBusDaemon",
introspected = dbus.standard_interfaces[DBUS.INTERFACE_DBUS],
is_async = True
)(connection = conn, dest = DBUS.SERVICE_DBUS)["/"]
The Pythonic form for the introspection is freely interconvertible
with the standard XML form.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus