set_display


Description:

public void set_display (Display display)

Attaches this to the given display.

Note:

You should not use this api

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

If you are using a `GtkStyleContext` returned from [method@Gtk.Widget.get_style_context], you do not need to call this yourself.

Parameters:

this

a `GtkStyleContext`

display

a `GdkDisplay`