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 117978 - No tooltips on eventbox as column widget
No tooltips on eventbox as column widget
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-07-21 12:12 UTC by Manuel Op de Coul
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Manuel Op de Coul 2003-07-21 12:12:15 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.
Comment 1 Owen Taylor 2003-07-21 13:17:59 UTC
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.
Comment 2 Manuel Op de Coul 2003-07-21 13:24:40 UTC
Allright, thanks for explaining.
I'm using Ada, so I'm not able to directly access the C button field.

Manuel
Comment 3 Manuel Op de Coul 2003-10-03 15:17:21 UTC
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.
Comment 4 Owen Taylor 2003-11-11 22:37:10 UTC
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.