emacs-devel
[Top][All Lists]
Advanced

[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: Mon, 27 Jan 2014 09:38:01 +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 Sun, 26 Jan 2014 17:23:54 -0700, Lars Ingebrigtsen <address@hidden> 
>>>>> said:

>> 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.

> Hm, nice...  Is there an interface to display these kinds of things
> without actually using the `help-echo' stuff?  I.e., is there a
> "display this string in a tooltip like fashion"?

You mean something like this?

(tooltip-show (propertize " " 'display (create-image "splash.png")))

                                        YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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