[Top][All Lists]

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

Re: Displaying images "outside" the layout

From: YAMAMOTO Mitsuharu
Subject: Re: Displaying images "outside" the layout
Date: Sun, 26 Jan 2014 14:41:38 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 25 Jan 2014 22:18:15 -0700, Lars Ingebrigtsen <address@hidden> 
>>>>> said:

> So here's my question: Is there a way to display images in tooltips?
> I tried the obvious, which is using a string with a display
> parameter that points to an image in `help-echo', but that didn't
> work.

This one works for me:

(insert (propertize "splash" 'help-echo (propertize " " 'display (create-image 
"splash.png"))) ?\n)

You need to set x-gtk-use-system-tooltips to nil if you are using the
GTK+ build, and the NS port cannot display images in tooltips AFAIK.

                                     YAMAMOTO Mitsuharu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]