set_display


Description:

public void set_display (Display display)

Attaches this to the given display.

The display is used to add style information from “global” style providers, such as the display's Settings instance.

If you are using a StyleContext returned from get_style_context, you do not need to call this yourself.

Parameters:

this

a StyleContext

display

a Display