<div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">Very useful information<div>Thanks David !</div><div><br></div><div>ik.</div><div><br></div><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 5:24 PM, David Zeuthen <span dir="ltr"><<a href="mailto:zeuthen@gmail.com">zeuthen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Wed, Jul 21, 2010 at 9:39 AM, Mohamed Ikbel Boulabiar<br>
<<a href="mailto:boulabiar@gmail.com">boulabiar@gmail.com</a>> wrote:<br>
> Hi,<br>
> I haven't seen a separate thread announcement here for the GDbus new<br>
> bindings.<br>
> What's the status/future of this bindings ?<br>
<br>
</div>These bindings are part of the upcoming GLib 2.26 release - they<br>
haven't been announced on this list but has been discussed a couple of<br>
times. These D-Bus bindings are pretty much complete, we are currently<br>
only tweaking stuff.<br>
<div class="im"><br>
> And where can I find example files showing very simple use (exporting<br>
> objects, listening to signals, ...) ?<br>
> I am still very new to GDBus, so I have just generated code from an xml file<br>
> using gdbus-codegen (which was named gdbus-binding-tool one month ago right<br>
> ?).<br>
<br>
</div>For the record, gdbus-codegen(1) is here<br>
<br>
<a href="http://cgit.freedesktop.org/~david/gdbus-binding-tool/" target="_blank">http://cgit.freedesktop.org/~david/gdbus-binding-tool/</a><br>
<br>
and isn't yet done (although I'm pretty sure the API of generated code<br>
isn't going to change much). For starters, the code generated is way<br>
too big - if we're a bit more careful we can probably fix that. The<br>
long term plan is to move gdbus-codegen(1) into GLib - that will<br>
happen for 2.28 - we're not in a hurry to finish that part of the<br>
gdbus effort.<br>
<div class="im"><br>
> I need some example to speed up with my testing and code.<br>
<br>
</div>The gdbus core bindings have tons of examples, see<br>
<br>
<a href="http://library.gnome.org/devel/gio/unstable/" target="_blank">http://library.gnome.org/devel/gio/unstable/</a><br>
<br>
and<br>
<br>
<a href="http://git.gnome.org/browse/glib/tree/gio/tests" target="_blank">http://git.gnome.org/browse/glib/tree/gio/tests</a><br>
<br>
The gdbus-codegen(1) tool also have a good amount of documention,<br>
here's a snapshot<br>
<br>
<a href="http://people.freedesktop.org/~david/gdbus-codegen-20100629/gdbus-codegen.html" target="_blank">http://people.freedesktop.org/~david/gdbus-codegen-20100629/gdbus-codegen.html</a><br>
<br>
but note that gdbus-codegen(1) is still in flux.<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br></div>