Widget.connectStyleSet

gulong connectStyleSet(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.style.Style))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.widget.Widget))) && Parameters!T.length < 3)

Connect to StyleSet signal.

The ::style-set signal is emitted when a new style has been set on a widget. Note that style-modifying functions like [gtk.widget.Widget.modifyBase] also cause this signal to be emitted.

Note that this signal is emitted for changes to the deprecated #GtkStyle. To track changes to the #GtkStyleContext associated with a widget, use the #GtkWidget::style-updated signal.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.style.Style previousStyle, gtk.widget.Widget widget) previousStyle the previous style, or null if the widget just got its initial style (optional) widget the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID

Deprecated

Use the #GtkWidget::style-updated signal