Signals.newv

Creates a new signal. (This is usually done in the class initializer.) See g_signal_new() for details on allowed signal names.

Parameters

signalName string

the name for the signal

itype GType

the type this signal pertains to. It will also pertain to types which are derived from this type

signalFlags GSignalFlags

a combination of GSignalFlags specifying detail of when the default handler is to be invoked. You should at least specify G_SIGNAL_RUN_FIRST or G_SIGNAL_RUN_LAST

classClosure Closure

The closure to invoke on signal emission; may be NULL

accumulator GSignalAccumulator

the accumulator for this signal; may be NULL

accuData void*

user data for the accumulator

cMarshaller GSignalCMarshaller

the function to translate arrays of parameter values to signal emissions into C language callback invocations

returnType GType

the type of return value, or G_TYPE_NONE for a signal without a return value

paramTypes GType[]

an array of types, one for each parameter

Return Value

Type: uint

the signal id

Meta