Re: Python gdbus example server
- From: Tony Asleson <tasleson redhat com>
- To: Christoph Reiter <reiter christoph gmail com>
- Cc: python-hackers-list gnome org
- Subject: Re: Python gdbus example server
- Date: Wed, 17 Dec 2014 16:05:42 -0600
On 12/17/2014 02:52 AM, Christoph Reiter wrote:
On Wed, Dec 17, 2014 at 12:16 AM, Tony Asleson <tasleson redhat com> wrote:
- How do I find the corresponding constants for things like:
G_IO_ERROR, G_IO_ERROR_FAILED, G_DBUS_ERROR_MATCH_RULE_NOT_FOUND and
https://lazka.github.io/pgi-docs/#Gio-2.0/mapping.html
Thanks for the specific link. I was aware of those docs, but failed to
find them using the built in search. Guess I should have used google
and constrained it to the site doc url.
Some I'm looking for are not in the mapping, for example in the C code I
see:
G_IO_ERROR -> #define G_IO_ERROR g_io_error_quark()
G_DBUS_ERROR -> #define G_DBUS_ERROR g_dbus_error_quark()
So I'm assuming that:
G_IO_ERROR == Gio.io_error_quark()
G_DBUS_ERROR == Gio.DBusError.quark()
would be the correct mapping?
Thanks,
Tony
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]