Package: gtk

Accessor gtk:style-context-parent

Lambda List

gtk:style-context-parent (object)

Syntax

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

Arguments

object -- a gtk:style-context object
parent -- a gtk:style-context parent object or nil

Details

Accessor of the parent slot of the gtk:style-context class. The gtk:style-context-parent function gets the parent style context. The (setf gtk:style-context-parent) function sets the parent style context.

The parent style context is used to implement inheritance of properties. If you are using a style context returned from the gtk:widget-style-context function, the parent will be set for you.
 

See also

#2023-3-27