Gio.DBusMethodInfo

Fields

Name Type Access Description
annotations [Gio.DBusAnnotationInfo] r/w A pointer to a None-terminated array of pointers to Gio.DBusAnnotationInfo structures or None if there are no annotations.
in_args [Gio.DBusArgInfo] r/w A pointer to a None-terminated array of pointers to Gio.DBusArgInfo structures or None if there are no in arguments.
name str r/w The name of the D-Bus method, e.g. RequestName.
out_args [Gio.DBusArgInfo] r/w A pointer to a None-terminated array of pointers to Gio.DBusArgInfo structures or None if there are no out arguments.
ref_count int r/w The reference count or -1 if statically allocated.

Methods

  ref ()
  unref ()

Details

class Gio.DBusMethodInfo

Information about a method on an D-Bus interface.

New in version 2.26.

ref()[source]
Returns:The same self.
Return type:Gio.DBusMethodInfo

If self is statically allocated does nothing. Otherwise increases the reference count.

New in version 2.26.

unref()[source]

If self is statically allocated, does nothing. Otherwise decreases the reference count of self. When its reference count drops to 0, the memory used is freed.

New in version 2.26.