Gtk.Widget::style-set
function callback(widget, previous_style:Gtk.Style, ):void;
The ::style-set signal is emitted when a new style has been set on a widget. Note that style-modifying functions like Gtk.Widget.prototype.modify_base also cause this signal to be emitted.
Note that this signal is emitted for changes to the deprecated Gtk.Style. To track changes to the Gtk.StyleContext associated with a widget, use the Gtk.style-updated signal.
- widget
instance of Gtk.Widget that is emitting the signal
- previous_style
the previous style, or null if the widget just got its initial style