Gtk.IconView.prototype.set_tooltip_column
function set_tooltip_column(column:Number):void {
// Gjs wrapper for gtk_icon_view_set_tooltip_column()
}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, Gtk.has-tooltip will be set to true and icon_view will connect a Gtk.query-tooltip signal handler.
Note that the signal handler sets the text with Gtk.set_markup, so &, <, etc have to be escaped in the text.
Since 2.12
- column
an integer, which is a valid column number for icon_view's model