[Top][All Lists]

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

Re: Displaying images "outside" the layout

From: Eli Zaretskii
Subject: Re: Displaying images "outside" the layout
Date: Sun, 26 Jan 2014 18:22:42 +0200

> From: Lars Ingebrigtsen <address@hidden>
> Date: Sat, 25 Jan 2014 22:18:15 -0700
> Inserting the preview into the buffer would be the easiest, of course,
> but where?  On the current line would be obvious, but would make stuff
> move around, since image thumbnails would be taller than the lines are.

You could reserve the space in advance, by displaying some empty image
there, or by some other suitable trick with display properties.

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

If the tooltip is drawn by Emacs, it is just a special kind of frame,
so images ought to work.  (Not that I like the idea of showing
thumbnails only in tooltips.)

reply via email to

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