SignalQuery

constructor()

Allocate a new SignalQuery.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new SignalQuery using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(signalId: <Error class: unknown class>, signalName: String?, itype: <Error class: unknown class>, signalFlags: SignalFlags, returnType: <Error class: unknown class>, nParams: <Error class: unknown class>)

Allocate a new SignalQuery.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

signalId

The signal id of the signal being queried, or 0 if the signal to be queried was unknown.

signalName

The signal name.

itype

The interface/instance type that this signal can be emitted for.

signalFlags

The signal flags as passed in to g_signal_new().

returnType

The return type for user callbacks.

nParams

The number of parameters that user callbacks take.


constructor(signalId: <Error class: unknown class>, signalName: String?, itype: <Error class: unknown class>, signalFlags: SignalFlags, returnType: <Error class: unknown class>, nParams: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new SignalQuery using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

signalId

The signal id of the signal being queried, or 0 if the signal to be queried was unknown.

signalName

The signal name.

itype

The interface/instance type that this signal can be emitted for.

signalFlags

The signal flags as passed in to g_signal_new().

returnType

The return type for user callbacks.

nParams

The number of parameters that user callbacks take.

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)