Package: gtk

Function gtk-style-context-path

Lambda List

gtk-style-context-path (context)

Syntax

(gtk-style-context-path context) => path
(setf (gtk-style-context-path context) path)

Arguments

context -- a gtk-style-context object
path -- a gtk-widget-path instance

Details

Accessor of the widget path of the style context.

The gtk-style-context-path function returns the widget path used for style matching. The (setf gtk-style-context-path) function sets the widget path. As a consequence, the style will be regenerated to match the new given path.

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