Package: gtk

Accessor gtk-style-context-screen

Lambda List

gtk-style-context-screen (object)

Syntax

(gtk-style-context-screen object) => screen
(setf (gtk-style-context-screen object) screen)

Arguments

object -- a gtk-style-context object
screen -- a gdk-screen object

Details

Accessor of the screen slot of the gtk-style-context class.

The gtk-style-context-screen slot access function returns the screen to which the style context is attached. The (setf gtk-style-context-screen) slot access function attaches the style context to the given screen.

The screen is used to add style information from 'global' style providers, such as the gtk-settings object of the screen.

If you are using a style context returned from the gtk-widget-style-context function, you do not need to call this yourself.
 

See also

2021-11-26