Package: gtk

Accessor gtk-tree-view-tooltip-column

Lambda List

gtk-tree-view-tooltip-column (object)

Syntax

(gtk-tree-view-tooltip-column object) => column
(setf (gtk-tree-view-tooltip-column object) column)

Arguments

object -- a gtk-tree-view widget
column -- an integer which is a valid column number for tree view's model

Details

Accessor of the tooltip-column slot of the gtk-tree-view class.

The slot access function gtk-tree-view-tooltip-column returns the column of the tree view's model which is being used for displaying tooltips on the tree view's rows.

If you only plan to have simple (text-only) tooltips on full rows, you can use this function to have the gtk-tree-view widget handle these automatically for you. The argument column should be set to the column in the tree view's model containing the tooltip texts, or -1 to disable this feature.

When enabled, the has-tooltip property will be set to true and the tree view will connect a "query-tooltip" signal handler.

Note that the signal handler sets the text with the function gtk-tooltip-set-markup, so &, <, etc have to be escaped in the text.
 

See also

2021-2-25