tooltips on pixbuf

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tooltips on pixbuf

Fabio Marzocca
I have a column of different pixbufs in my SimpleList. Now I am in the
need of displaying a tooltip each pixbuf, but how can I do this as
they are not widgets?
_______________________________________________
gtk-perl-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: tooltips on pixbuf

Aristotle Pagaltzis
* The Saltydog <[hidden email]> [2005-06-07 21:55]:
> I have a column of different pixbufs in my SimpleList. Now I am
> in the need of displaying a tooltip each pixbuf, but how can I
> do this as they are not widgets?

Stuff them in an Eventbox? That’s the canonical way to make
non-window things behave like those which are, I think (although
I might be trying to solve all problems with the same
sledgehammer). It might be unwise there are *very* many of them
though.

Regards,
--
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;
_______________________________________________
gtk-perl-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: tooltips on pixbuf

muppet-6
In reply to this post by Fabio Marzocca

The Saltydog said:
> I have a column of different pixbufs in my SimpleList. Now I am in the
> need of displaying a tooltip each pixbuf, but how can I do this as
> they are not widgets?

The fact that a pixbuf is not a windowed widget is the least of your problems:

http://bugzilla.gnome.org/show_bug.cgi?id=80980


It is possible, however tedious, to hack together similar functionality for
yourself, using the window type 'popup' and handling the treeview's pointer
input manually.  But beware the interactions with drag and drop.


--
muppet <scott at asofyet dot org>

_______________________________________________
gtk-perl-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list