<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks to all who replied. At this time I'm going to move forward
with the dual interface(pybus, dbus) class and start researching the
GLib data formatting.<br>
<pre class="moz-quote-pre" wrap=""><div class="moz-txt-sig">From: Lawrence D'Oliveiro <a class="moz-txt-link-rfc2396E" href="mailto:ldo@geek-central.gen.nz"><ldo@geek-central.gen.nz></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a>
Subject: Re: The REAL Preferred Python Binding Library
</div></pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap=""> ? pydbus:
...
??? - cannot package complex data properly (navit mapping app, D-Bus
method set_destination, requires a format of? "(iii)s"
> >>> import dbus
</pre>
</blockquote>
<br>
<pre class="moz-quote-pre" wrap="">In dbus it is very easy to package data. I was hoping to be able to do the same in pydbus
Thanks for the code below, I think it will help a lot for the longer term GLib research.
<blockquote type="cite"><pre class="moz-quote-pre" wrap="">m = dbus.lowlevel.MethodCallMessage("com.example", "/", "com.example", "hi")
m.append([3, 4, 5], "hi", signature = "(iii)s")
m.get_args_list()
[dbus.Struct((dbus.Int32(3), dbus.Int32(4), dbus.Int32(5)), signature=None), dbus.String('hi')]
</pre></blockquote></pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">From: "Thomas Kluyver" <a class="moz-txt-link-rfc2396E" href="mailto:thomas@kluyver.me.uk"><thomas@kluyver.me.uk></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a>
Subject: Re: The REAL Preferred Python Binding Library
<blockquote type="cite"><pre class="moz-quote-pre" wrap="">If you're trying to <b class="moz-txt-star"><span class="moz-txt-tag">*</span>communicate<span class="moz-txt-tag">*</span></b> with Gnome apps, any D-Bus binding should work. After all, that's the point of having a standard protocol. <span class="moz-smiley-s1" title=":-)"></span> </pre>
</blockquote></pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">That's what I would have thought but there are differences between them all. Mind you, the gnome devs seem to like making things obscure :(
Thanks once again
Dave
</pre>
<pre class="moz-signature" cols="72">--
Dave Morgan
Senior Consultant, 1001111 Alberta Limited
<a class="moz-txt-link-abbreviated" href="mailto:dave.morgan@1001111.com">dave.morgan@1001111.com</a>
403 399 2442
</pre>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>