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

Accessor of the display slot of the gtk:style-context class. The gtk:style-context-display function returns the display to which the style context is attached. The (setf gtk:style-context-display) function attaches the style context to the given display.

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

2023-9-18