StyleContext.connectChanged

Connect to Changed signal.

The ::changed signal is emitted when there is a change in the #GtkStyleContext.

For a #GtkStyleContext returned by gtk.widget.Widget.getStyleContext, the #GtkWidget::style-updated signal/vfunc might be more convenient to use.

This signal is useful when using the theming layer standalone.

class StyleContext
gulong
connectChanged
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.style_context.StyleContext styleContext)

styleContext 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