DBusMethodInfo

Information about a method on an D-Bus interface.

Constructors

this
this(GDBusMethodInfo* gDBusMethodInfo, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

doref
DBusMethodInfo doref()

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

getDBusMethodInfoStruct
GDBusMethodInfo* getDBusMethodInfoStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

unref
void unref()

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

Properties

annotations
DBusAnnotationInfo[] annotations [@property getter]
DBusAnnotationInfo[] annotations [@property setter]

A pointer to a NULL-terminated array of pointers to gio.DBusAnnotationInfo structures or NULL if there are no annotations.

inArgs
DBusArgInfo[] inArgs [@property getter]
DBusArgInfo[] inArgs [@property setter]

A pointer to a NULL-terminated array of pointers to gio.DBusArgInfo structures or NULL if there are no in arguments.

name
string name [@property getter]
string name [@property setter]

The name of the D-Bus method, e.g. RequestName.

outArgs
DBusArgInfo[] outArgs [@property getter]
DBusArgInfo[] outArgs [@property setter]

A pointer to a NULL-terminated array of pointers to gio.DBusArgInfo structures or NULL if there are no out arguments.

refCount
int refCount [@property getter]
int refCount [@property setter]

The reference count or -1 if statically allocated.

Static functions

getType
GType getType()

Variables

gDBusMethodInfo
GDBusMethodInfo* gDBusMethodInfo;

the main Gtk struct

Meta

Since

2.26