gir.core icon indicating copy to clipboard operation
gir.core copied to clipboard

Add Invoke method to signal descriptor

Open badcel opened this issue 4 months ago • 1 comments

Add Invoke method to signal descriptor

Sample implementation for signals without SignalArgs:

    public void Emit(TSender sender)
    {
        var instance = new Value(sender);
        var args = Internal.ValueArray2OwnedHandle.Create([instance]);
        Functions.SignalEmitV(...);
    }

badcel avatar Aug 16 '25 22:08 badcel

For this to work there must be the binding for signal_emitv be generated. As this is not yet available this point needs to be postponed as I thought this would be an easy add which it is not anymore.

badcel avatar Aug 30 '25 06:08 badcel