Struct glib::subclass::signal::SignalBuilder [−][src]
pub struct SignalBuilder<'a> { /* fields omitted */ }
Expand description
Builder for signals.
Implementations
Run the signal class handler in the last emission stage.
Signals being emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted.
This signal supports “::detail” appendices to the signal name upon handler connections and emissions.
Action signals are signals that may freely be emitted on alive objects from user code.
Varargs signal emission will always collect the arguments, even if there are no signal handlers connected.
The signal is deprecated and will be removed in a future version.
Explicitly set all flags.
This overrides previously set flags on this builder.
Class handler for this signal.
pub fn accumulator<F: Fn(&SignalInvocationHint, &mut Value, &Value) -> bool + Send + Sync + 'static>(
self,
func: F
) -> Self
pub fn accumulator<F: Fn(&SignalInvocationHint, &mut Value, &Value) -> bool + Send + Sync + 'static>(
self,
func: F
) -> Self
Accumulator for the return values of the signal.
This is called if multiple signal handlers are connected to the signal for accumulating the return values into a single value.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SignalBuilder<'a>
impl<'a> Send for SignalBuilder<'a>
impl<'a> Sync for SignalBuilder<'a>
impl<'a> Unpin for SignalBuilder<'a>
impl<'a> !UnwindSafe for SignalBuilder<'a>