IconView.setTooltipColumn

If you only plan to have simple (text-only) tooltips on full items, you can use this function to have gtk.IconView handle these automatically for you. column should be set to the column in icon_view’s model containing the tooltip texts, or -1 to disable this feature.

When enabled, has-tooltip will be set to TRUE and icon_view will connect a query-tooltip signal handler.

Note that the signal handler sets the text with Tooltip.setMarkup, so &, <, etc have to be escaped in the text.

class IconView
void
setTooltipColumn
(
int column
)

Parameters

column int

an integer, which is a valid column number for icon_view’s model

Meta

Since

2.12