From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Rethinking the design of xwidgets Date: Tue, 13 Oct 2020 21:45:30 +0300 Message-ID: <83ft6i0xth.fsf@gnu.org> References: <864kmzupp0.fsf@akirakyle.com> <835z7e2ouj.fsf@gnu.org> <86v9fet5sg.fsf@akirakyle.com> <86sgait1wt.fsf@akirakyle.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: qhong@mit.edu, emacs-devel@gnu.org To: Akira Kyle Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 13 20:46:32 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSPJf-0003du-Np for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Oct 2020 20:46:31 +0200 Original-Received: from localhost ([::1]:50500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSPJe-0004lx-K3 for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Oct 2020 14:46:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSPIa-0003YR-Hj for emacs-devel@gnu.org; Tue, 13 Oct 2020 14:45:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40936) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSPIY-00032A-5h; Tue, 13 Oct 2020 14:45:23 -0400 Original-Received: from [176.228.60.248] (port=1821 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kSPIX-0006ow-Dn; Tue, 13 Oct 2020 14:45:21 -0400 In-Reply-To: <86sgait1wt.fsf@akirakyle.com> (message from Akira Kyle on Tue, 13 Oct 2020 12:29:38 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257556 Archived-At: > From: Akira Kyle > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Tue, 13 Oct 2020 12:29:38 -0600 > > For example is it possible to have a live updating rectangle > displayed as one drags the mouse to select a region to inspect? Can't that be done with a mask on the image? > 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? You'd need to regenerate the plot with the updated values. > 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. And doing this via a module that is called by a widget won't bump into the same problems? After all, all the interaction with Emacs goes through the same mechanism, no matter what the callback does.