StyleContext.setScreen

void setScreen(gdk.screen.Screen screen)

Attaches context to the given screen.

The screen is used to add style information from “global” style providers, such as the screen’s #GtkSettings instance.

If you are using a #GtkStyleContext returned from [gtk.widget.Widget.getStyleContext], you do not need to call this yourself.

Parameters

screena #GdkScreen