DBusAnnotationInfo

Information about an annotation.

Constructors

this
this(GDBusAnnotationInfo* gDBusAnnotationInfo, bool ownedRef)

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

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

getDBusAnnotationInfoStruct
GDBusAnnotationInfo* getDBusAnnotationInfoStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

ref_
DBusAnnotationInfo ref_()

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

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 #GDBusAnnotationInfo structures or %NULL if there are no annotations.

key
string key [@property getter]
string key [@property setter]

The name of the annotation, e.g. "org.freedesktop.DBus.Deprecated".

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

The reference count or -1 if statically allocated.

value
string value [@property getter]
string value [@property setter]

The value of the annotation.

Static functions

getType
GType getType()
lookup
string lookup(DBusAnnotationInfo[] annotations, string name)

Looks up the value of an annotation.

Variables

gDBusAnnotationInfo
GDBusAnnotationInfo* gDBusAnnotationInfo;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta

Since

2.26