From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Displaying images "outside" the layout Date: Sun, 26 Jan 2014 14:41:38 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87a9ejqq20.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1390714915 7469 80.91.229.3 (26 Jan 2014 05:41:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 05:41:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 26 06:42:03 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7ITo-0000Pe-P2 for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 06:42:00 +0100 Original-Received: from localhost ([::1]:53614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ITo-0008EJ-46 for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 00:42:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ITg-0008CT-N6 for emacs-devel@gnu.org; Sun, 26 Jan 2014 00:41:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7ITa-0007OJ-5g for emacs-devel@gnu.org; Sun, 26 Jan 2014 00:41:52 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:49835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ITZ-0007NB-Rv for emacs-devel@gnu.org; Sun, 26 Jan 2014 00:41:46 -0500 Original-Received: from fermat.math.s.chiba-u.ac.jp (fermat [133.82.132.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 42AFDC055D for ; Sun, 26 Jan 2014 14:41:38 +0900 (JST) In-Reply-To: <87a9ejqq20.fsf@building.gnus.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169106 Archived-At: >>>>> On Sat, 25 Jan 2014 22:18:15 -0700, Lars Ingebrigtsen 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 mituharu@math.s.chiba-u.ac.jp