unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Displaying images "outside" the layout
Date: Mon, 27 Jan 2014 09:38:01 +0900	[thread overview]
Message-ID: <wl38ka5keu.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <87iot6clwl.fsf@building.gnus.org>

>>>>> On Sun, 26 Jan 2014 17:23:54 -0700, Lars Ingebrigtsen <larsi@gnus.org> 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
				mituharu@math.s.chiba-u.ac.jp




  reply	other threads:[~2014-01-27  0:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-26  5:18 Displaying images "outside" the layout Lars Ingebrigtsen
2014-01-26  5:41 ` YAMAMOTO Mitsuharu
2014-01-27  0:23   ` Lars Ingebrigtsen
2014-01-27  0:38     ` YAMAMOTO Mitsuharu [this message]
2014-01-27  0:47       ` Lars Ingebrigtsen
2014-01-26 16:22 ` Eli Zaretskii
2014-01-26 16:39   ` Alp Aker
2014-01-26 17:40     ` Eli Zaretskii
2014-01-26 18:12       ` Alp Aker
2014-01-26 18:53       ` Jan Djärv
2014-01-27  0:28   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wl38ka5keu.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).