unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* SVG/PNG images in toolbars?
@ 2017-10-13 15:07 Clément Pit-Claudel
  2017-10-13 16:11 ` Eli Zaretskii
  2017-10-14  2:15 ` Clément Pit-Claudel
  0 siblings, 2 replies; 7+ messages in thread
From: Clément Pit-Claudel @ 2017-10-13 15:07 UTC (permalink / raw)
  To: Emacs developers

Hi all,

Do we support any form of scalable graphics for toolbar icons, or at least any format that supports anti-aliasing? All I can seem to get working is XPM/XBM/PBM, but I can't find a statement that we don't support anything better.

Additionally, I noticed that emacs -Q on my machine seems to ignore the find-image specs of toolbar-mode-map for the default tool bar (that is, running find-image with the specs found in tool-bar-map yields something like (image :type xpm :file "/usr/local/share/emacs/26.0.50/etc/images/refresh.xpm"), but that image looks nothing like the one actually displayed).  strace-ing Emacs suggests that this is because of `x-gtk-stock-map`.

Is there a way to use custom PNG or SVG icons in the toolbar, at least for GTK builds?  Or is x-gtk-stock-map the only option?

Thanks!
Clément.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-19  2:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 15:07 SVG/PNG images in toolbars? Clément Pit-Claudel
2017-10-13 16:11 ` Eli Zaretskii
2017-10-13 22:49   ` Clément Pit-Claudel
2017-10-14  6:51     ` Eli Zaretskii
2017-10-14  2:15 ` Clément Pit-Claudel
2017-10-14  7:13   ` Eli Zaretskii
2017-11-19  2:31     ` Clément Pit-Claudel

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