GNOME Bugzilla – Bug 547787
Lack of documentation on setting TreeView tooltips.
Last modified: 2008-11-14 09:18:12 UTC
Documentation Section: Reference set_tooltip_column: Nothing set_tooltip_row: Sets the tip area of tooltip to be the area covered by the row at path. See also gtk_tooltip_set_tip_area(). Correct version: set_tooltip_column: Sets the tooltips for each row based on a column in the Gtk::TreeModel::ColumnRecord being used. Columns are numbered in the order which they are added to the Gtk::TreeModel::ColumnRecord. set_tooltip_row: Sets the tip area of tooltip to be the area covered by the row at path. You may wish to consider using set_tooltip_column for ease of implementation. See also gtk_tooltip_set_tip_area(). Other information:
Created attachment 116585 [details] [review] Patch This is a patch from the root level directory I check out from SVN. I couldn't get my docs to generate correctly with it, so I wouldn't take it without checking to over.
I simply regenerated gtk_docs.xml (using docextra_to_xml.py) to fix this. I guess that the C documentation is fairly new. http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#5437add5fba2cef1972c5139375581a0 I also added the mention of *_set_tooltip_column() to GtkTreeView and GtkIconView in GTK+ in svn before doing that. However, for some reason gmmproc did not translate the C function name gtk_tooltip_set_tip_area() to Tooltip::set_tip_area(), so i have indeed added an override for that. That will be online soon.