Widget.connectStyleSet

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.

More...
class Widget
gulong
connectStyleSet
(
T
)
(,
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
)

Parameters

callback T

signal 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)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID

Detailed Description

Deprecated: Use the #GtkWidget::style-updated signal