Welcome to the Monastery | |
PerlMonks |
Gtk2 Treeview/Simplelist and set_tooltip_row()by jettero (Monsignor) |
on Apr 21, 2008 at 22:39 UTC ( [id://682039]=perlquestion: print w/replies, xml ) | Need Help?? |
jettero has asked for the wisdom of the Perl Monks concerning the following question:
I'm enjoying Gtk2 quite a bit. I'm very new to it, but I've written some semi-fancy things with ease and it's just fun.
I got kinda stumped on tool tips though. I seem to be able to get them working everywhere except Gtk2::SimpleLists (which are really Gtk2::TreeViews). It seems like I found most of the related topics, but I can't seem to get it to work. I want to add a tooltip to some of the rows of my simplelist.
The documentation for both the C and the .pm is a little light (doxygen?), but I think I might need to do something with the signal? I believe it's been possible to do this since gtk 2.12.0, but I'm clearly missing something. There's some example code in the t/GtkTreeView.t that calls set_tooltip_row(), but it seems to be an example of testing something rather than an example of putting a tooltip on a row. -Paul
Back to
Seekers of Perl Wisdom
|
|