From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: SVG/PNG images in toolbars?
Date: Fri, 13 Oct 2017 17:07:23 +0200 [thread overview]
Message-ID: <f7393660-4ca7-67c3-6f88-ec9741b109af@gmail.com> (raw)
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.
next reply other threads:[~2017-10-13 15:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 15:07 Clément Pit-Claudel [this message]
2017-10-13 16:11 ` SVG/PNG images in toolbars? 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7393660-4ca7-67c3-6f88-ec9741b109af@gmail.com \
--to=cpitclaudel@gmail.com \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.