[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs canvas support
From: |
Po Lu |
Subject: |
Re: Emacs canvas support |
Date: |
Wed, 29 Apr 2020 18:22:13 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> That's the technical description of the implementation. It doesn't
> explain when canvases can be useful and for what purposes.
Canvases are useful for when I want to be able to control a portion of a
screen dynamically, in a fast way, from Lisp code. For instance,
displaying a constantly changing bar chart or graph inside Emacs.
> But the result of this painting is some graphical object, similar to
> an image, that will be displayed within a buffer, right?
Correct.
> Did I miss the code that tells Emacs the click was on a canvas? E.g.,
> if you click on a canvas, what does posn-object return when passed the
> click event as its argument?
Oops. I missed that. Thanks for bringing it up.
- Emacs canvas support, Po Lu, 2020/04/29
- Re: Emacs canvas support, Eli Zaretskii, 2020/04/29
- Re: Emacs canvas support, Po Lu, 2020/04/29
- Re: Emacs canvas support, Eli Zaretskii, 2020/04/29
- Re: Emacs canvas support, Po Lu, 2020/04/29
- Re: Emacs canvas support, Eli Zaretskii, 2020/04/29
- Re: Emacs canvas support, Po Lu, 2020/04/29
- Re: Emacs canvas support, David Engster, 2020/04/29
- Re: Emacs canvas support, Eli Zaretskii, 2020/04/29
- Re: Emacs canvas support, tomas, 2020/04/29
- Re: Emacs canvas support, Eli Zaretskii, 2020/04/29