StyleContext.setDisplay
void setDisplay(gdk.display.Display display)Attaches context to the given display.
The display is used to add style information from “global” style providers, such as the display's gtk.settings.Settings instance.
If you are using a gtk.style_context.StyleContext returned from gtk.widget.Widget.getStyleContext, you do not need to call this yourself.
Parameters
display | a gdk.display.Display |
Deprecated
You should not use this api