Package: gtk

Accessor gtk-tree-view-rules-hint

Lambda List

gtk-tree-view-rules-hint (object)

Syntax

(gtk-tree-view-rules-hint object) => setting
(setf (gtk-tree-view-rules-hint object) setting)

Arguments

object -- a gtk-tree-view widget
setting -- true if the tree view requires reading across rows

Details

Accessor of the rules-hint slot of the gtk-tree-view class.

This function tells GTK that the user interface for your application requires users to read across tree rows and associate cells with one another. By default, GTK will then render the tree view with alternating row colors. Do not use it just because you prefer the appearance of the ruled tree. That is a question for the theme. Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. You should call this function only as a semantic hint to the theme engine that your tree view makes alternating colors useful from a functional standpoint, since it has lots of columns, generally.

Warning

The function gtk-tree-view-rules-hint has been deprecated since version 3.14 and should not be used in newly written code.
 

See also

2021-2-25