After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547787 - Lack of documentation on setting TreeView tooltips.
Lack of documentation on setting TreeView tooltips.
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: documentation
2.12.x
Other All
: Normal minor
: ---
Assigned To: gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-08-14 16:14 UTC by John Hobbs
Modified: 2008-11-14 09:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.44 KB, patch)
2008-08-14 16:18 UTC, John Hobbs
none Details | Review

Description John Hobbs 2008-08-14 16:14:49 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:
Comment 1 John Hobbs 2008-08-14 16:18:52 UTC
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.
Comment 2 Murray Cumming 2008-10-20 12:30:43 UTC
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.