[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: How could I set tool tips on cells in a TreeView?
- From: <martyn 2 russell bt com>
- To: <epchristi yahoo com>, <gtk-app-devel-list gnome org>
- Subject: RE: How could I set tool tips on cells in a TreeView?
- Date: Thu, 30 Oct 2003 10:11:19 -0000
> Is there a way to get a widget handle on a cell in a
> TreeView (gtk 2.0+) so I could add a tool tip to that
> cell?
There is no API in GTK currently to do this and it is a common question about the treeview.
>
> I didn't see anything but a cell-render that has
> anything to do with displaying the cells. Is there a
> way to use the mechanism for getting the data for the
> model by row/col to also get the widget and then set a
> tooltip?
Yes, im sure you can set the tooltip for the View itself (and not the cell) - it might be a bit tricky getting the cell under the mouse.
I would have a look at the source for GAIM. They use tooltips for each cell in their GtkTreeView (or so it seems) - that might give you more insight.
Regards,
Martyn
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]