TreeView.setTooltipColumn
void setTooltipColumn(int column)If you only plan to have simple (text-only) tooltips on full rows, you can use this function to have gtk.tree_view.TreeView handle these automatically for you. column should be set to the column in tree_view’s model containing the tooltip texts, or -1 to disable this feature.
When enabled, GtkWidget:has-tooltip will be set to true and tree_view will connect a GtkWidget::query-tooltip signal handler.
Note that the signal handler sets the text with gtk.tooltip.Tooltip.setMarkup, so &, <, etc have to be escaped in the text.
Parameters
column | an integer, which is a valid column number for tree_view’s model |
Deprecated
Use gtk.list_view.ListView or gtk.column_view.ColumnView instead