Gtk.Widget::screen-changed

function callback(widget, previous_screen:Gdk.Screen, ):void;

The ::screen-changed signal gets emitted when the screen of a widget has changed.

widget

instance of Gtk.Widget that is emitting the signal

previous_screen

the previous screen, or null if the widget was not associated with a screen before