|
From: Shahms K. <sh...@sh...> - 2003-03-03 17:10:19
|
It isn't currently doable, using the GtkTooltips code, as the tree no longer holds GtkWidgets (which the tool tip stuff requires). I'm not sure how Sean is implementing it, but the "best" way to do it would probably be to write a CellRenderer that shows a pop-up window when the GtkCellRenderState is "PRELIT" and hides it when it is anything else. (The state is passed to the gtk_cell_renderer_render() function). Given that the cell renderer wouldn't be doing any drawing itself, I wouldn't imagine it would be too difficult to write. There are probably other ways to do this, and I'm not sure if the GtkCellRenderer approach would work or not. (Ideally, you'd have a 0 size, but I don't know how the tree view handles mouse over. If it is on a per-row/column basis, then that'd work, if it's on a per-renderer basis, it probably won't) On Mon, 2003-03-03 at 08:52, wh...@si... wrote: > > That's correct. Once my buddy list is committed, there will be no > > remaining calls to deprecated gtk functions (thanks to faceprint). > > > > It should be in CVS this week. > have you done tooltips on treeview rows? if yes can you send me some code > with it. i can't cope with it. and no one knows on gtk-app-devel list how > to do it. > > > hs > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gaim-devel mailing list > Gai...@li... > https://lists.sourceforge.net/lists/listinfo/gaim-devel -- Shahms King <sh...@sh...> |