<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Simon,<br>
<br>
Thank you for your help.<br>
<blockquote type="cite">
<pre wrap="">At a high level, what is it that
you intended to send? Writing it in the same form as the indented
versions I wrote above might help.</pre>
</blockquote>
I've wrote it in the further part of the original e-mail. It shall
be:<br>
<br>
<font face="Courier New, Courier, monospace">variant struct {<br>
string "myString"<br>
array [<br>
variant struct { <br>
int32 1<br>
int32 1<br>
int32 1<br>
}<br>
]<br>
}</font><br>
so what I really need to send is a variant. 'v'.<br>
<br>
Probably the only possible solution is as in the second approach
described in the original e-mail. Please have a look on it!<br>
<font face="Courier New, Courier, monospace"><br>
@dbus.service.signal('myInterface', 'v' )<br>
def mySignal(self, message):<br>
pass</font><br>
<font face="Courier New, Courier, monospace"> ...<br>
e = Emitter(bus)<br>
...<br>
arr = dbus.Array( [], </font><font face="Courier New,
Courier, monospace"><font face="Courier New, Courier, monospace">signature=</font>'(iii)'
)<br>
s1 = dbus.Struct( (1,1,1), signature='(iii)', variant_level=1
)<br>
arr.append(s1)<br>
e.mySignal( ('myString', arr) )<br>
</font><br>
with best regards,<br>
<br>
</div>
<div class="moz-signature">-- <br>
<p><b>Bogdan Lotko</b></p>
<a class="moz-txt-link-abbreviated"
href="mailto:b.lotko@chello.at">b.lotko@chello.at</a>
<br>
Phone: +43 1 2852458
<br>
Mobile: +43 676 6615012
</div>
</body>
</html>