Package: gtk

Accessor gtk:style-context-display

Lambda List

gtk:style-context-display (object)

Syntax

(gtk:style-context-display object) => display
(setf (gtk:style-context-display object) display)

Arguments

object -- a gtk:style-context object
display -- a gdk:display object

Details

The accessor for the display slot gets or sets the display to which the style context is attached.

The display is used to add style information from 'global' style providers, such as the gtk:settings instance of the display. If you are using a gtk:style-context object returned from the gtk:widget-style-context function, you do not need to call this yourself.

Warning

This function is deprecated since 4.10. Use the gtk:widget-display function instead.
 

See also

2026-08-17