GNOME Bugzilla – Bug 117978
No tooltips on eventbox as column widget
Last modified: 2004-12-22 21:47:04 UTC
In order to add tooltips on my clist column labels, I've put them inside eventboxes. And added those with set_column_widget. This worked in 1.2 but no longer in 2.2.2. The labels themselves are visible as normal.
GtkCList is deprecated in 2.2, so we definitely won't be making any changes here. I think your problem is a change in how GtkButton works - instead of having a separate window, it now puts a transparent window over its contents and draws on the parent window. You probably can get away with setting your tooltip directly on clist->column[column].button.
Allright, thanks for explaining. I'm using Ada, so I'm not able to directly access the C button field. Manuel
Pardon the reversal. The problem is not confined to the deprecated clist. It also appears in the new treeview when eventboxes are set as column widgets. When a button is used instead of an eventbox, there is no tooltip either. When this bug is fixed, I hope it works again for clists as well, because there are like ten times as many clists than treeviews in my program.
No, no, no. Putting event boxes as the column widgets is not the right way to get tooltips on the column. Maybe we should add a gtk_tree_view_column_set_tooltip() - if you are interested in that, please file a separate bug.