StyleContext.getDisplay

gdk.display.Display getDisplay()

Returns the [gdk.display.Display] to which context is attached.

Returns

a [gdk.display.Display].

Deprecated

Use [gtk.widget.Widget.getDisplay] instead