Gtk.StyleContext.prototype.set_screen
function set_screen(screen:Gdk.Screen):void { // Gjs wrapper for gtk_style_context_set_screen() }
Attaches context to the given screen.
The screen is used to add style information from 'global' style providers, such as the screens Gtk.Settings instance.
If you are using a Gtk.StyleContext returned from Gtk.get_style_context, you do not need to call this yourself.
Since 3.0
- screen