GObject.ConnectFlags

The connection flags are used to specify the behaviour of a signal's connection.

ConnectFlags.AFTER

whether the handler should be called before or after the default handler of the signal.

ConnectFlags.SWAPPED

whether the instance and data should be swapped when calling the handler.