It derives from <GObject>.
<GSignalGroup> manages a collection of signals
on a <GObject>.
<GSignalGroup> simplifies the process of
connecting many signals to a <GObject> as a group.
As such there is no API to disconnect a signal from the group.
In particular, this allows you to:
One place you might want to use such a structure is with
<GtkTextView> and
<GtkTextBuffer>. Often times, you’ll need
to connect to many signals on
<GtkTextBuffer> from a
<GtkTextView> subclass. This allows you to
create a signal group during instance construction, simply bind the
text-view:buffer property to
signal-group:target and
connect all the signals you need. When the text-view:buffer property changes all of the signals will
be transitioned correctly.
The target instance used when connecting signals.
Its value is a <GObject>, or #f.
Set it with (set! (signal-group:target self) value).
The GType of the target property.
Its value is a class, or a GType number.
It can only be set when the object is made, with #:target-type.
Blocks all signal handlers managed by self so they will not be called during any signal emissions. Must be unblocked exactly the same number of times it has been blocked to become active again.
This blocked state will be kept across changes of the target instance.
Passed: a <GSignalGroup>.
the <GSignalGroup>
Connects closure to the signal detailed-signal on
signal-group:target.
You cannot connect a signal handler after signal-group:target has been set.
Passed: a <GSignalGroup>.
Passed: a string.
a string of the form signal-name with optional
::signal-detail
Passed: a <GClosure>.
the closure to connect.
Passed: a boolean.
whether the handler should be called before or after the default handler of the signal.
Connects c-handler to the signal detailed-signal on the target instance of self.
You cannot connect a signal handler after signal-group:target has been set.
Passed: a <GSignalGroup>.
Passed: a string.
a string of the form "signal-name::detail"
Passed: a procedure.
the GCallback to connect
See GCallback for how it is called.
Passed: a <%GConnectFlags>, or a list of its
symbols, or one of them.
the flags used to create the signal connection
Not passed: guile-gi supplies it.
the data to pass to c-handler calls
Not passed: guile-gi supplies it.
function to be called when disposing of self
See GClosureNotify for how it is called.
Connects c-handler to the signal detailed-signal on the target instance of self.
The instance on which the signal is emitted and data will be swapped when calling c-handler.
You cannot connect a signal handler after signal-group:target has been set.
Passed: a <GSignalGroup>.
Passed: a string.
a string of the form "signal-name::detail"
Passed: a procedure.
the GCallback to connect
See GCallback for how it is called.
Not passed: guile-gi supplies it.
the data to pass to c-handler calls
Gets the target instance used when connecting signals.
Passed: a <GSignalGroup>.
the <GSignalGroup>
Returned: a <GObject>, or #f.
The target instance
Creates a new <GSignalGroup> for target
instances of target-type.
Passed: a class, or a GType number.
the GType of the target instance.
Returned: a <GSignalGroup>.
a new <GSignalGroup>
Sets the target instance used when connecting signals. Any signal that
has been registered with g_signal_group_connect_object() or
similar functions will be connected to this object.
If the target instance was previously set, signals will be disconnected from that object prior to connecting to target.
Passed: a <GSignalGroup>.
the <GSignalGroup>.
Passed, or left out: a <GObject>, or #f.
The target instance used when connecting signals.
Unblocks all signal handlers managed by self so they will be called again during any signal emissions unless it is blocked again. Must be unblocked exactly the same number of times it has been blocked to become active again.
Passed: a <GSignalGroup>.
the <GSignalGroup>
Connect a handler with (connect object signal-group:bind
handler). It is called as (handler self instance).
This signal is emitted when signal-group:target is set to a new value other than
#f. It is similar to object:notify on target except it will not emit when
signal-group:target is
#f and also allows for receiving the
<GObject> without a data-race.
Passed: a <GSignalGroup>.
Passed: a <GObject>.
a <GObject> containing the new value for
signal-group:target
Connect a handler with (connect object signal-group:unbind
handler). It is called as (handler self).
This signal is emitted when the target instance of self is set to
a new <GObject>.
This signal will only be emitted if the previous target of self is
non-#f.
Passed: a <GSignalGroup>.