addStatusCodeHandler
fun addStatusCodeHandler(signal: String, statusCode: <Error class: unknown class>, callback: <Error class: unknown class>): <Error class: unknown class>
Adds a signal handler to @msg for @signal.
Similar to func@GObject.signal_connect, but the @callback will only be run if @msg has the status @status_code.
Return
the handler ID from func@GObject.signal_connect
Parameters
signal
signal to connect the handler to.
statusCode
status code to match against
callback
the header handler