emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rethinking the design of xwidgets


From: Akira Kyle
Subject: Re: Rethinking the design of xwidgets
Date: Tue, 13 Oct 2020 12:29:38 -0600
User-agent: mu4e 1.4.13; emacs 28.0.50


On Tue, Oct 13, 2020 at 11:24 AM, Qiantan Hong <qhong@mit.edu> wrote:

Isn’t it possible to use the 'keymap text/overlay property on the image to do what you described? At least for zooming or moving around view port, I think you can create some simple +/-/C-npfb bindings for the image and send the command to the backend.
Or write a lisp package for any more complex interaction.

That's probably possible to get some limited interaction, however I'm not sure it would very satisfactory or complete. For example is it possible to have a live updating rectangle displayed as one drags the mouse to select a region to inspect? Is it possible to display a slider which can be dragged by the mouse to update values on the plot or have a drop down menu to select a data series? It seems it may also be difficult to find a way to have elisp interact with the matplotlib fast enough to not introduce noticable delay as such actions update the view.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]