On Wed, Oct 20, 2021 at 1:45 PM Lars Ingebrigtsen <
larsi@gnus.org> wrote:
Anand Tamariya <atamariya@gmail.com> writes:
> Now you can use SVG widget in GNU Emacs. That is, use an SVG image or
> fragment as background for push-button widget in Emacs buffer.
Sounds interesting, but I'm not quite sure I understand what this means
in practice.
You can create games or interaction dialogues using these widgets as shown in the image.
> Sample API: svg-widget (svg frag &optional width height &rest args)
>
> Code: https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/svg.el
Could you post a patch of the code you've added to svg.el?
(apply 'widget-create 'push-button :display (svg-image e) args)