Re: Tooltip on Gtk::IconView items



On Sun, 2008-02-03 at 22:25 +0100, Andreas Volz wrote:
> Hello,
> 
> I've a Gtk::IconView with many Gtk::PixBuf objects. Now I like to add a
> tooltip for each PixBuf. But I need a Gtk::Widget for the Tooltip API.
> Any ideas how to solve this?

Clearly we need to add some documentation, but this method seems to be
what you want:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1IconView.html#0e81a913a4f9bde2bdf38d802eee2e37

I guess you add a model column with text for the treeview.
et_tooltip_cell() might restrict it to the cell, I guess.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]