StyleContext.setScreen

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.

class StyleContext
void
setScreen

Parameters

screen gdk.screen.Screen

a #GdkScreen