From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: embedding gtk widgets in a buffer Date: Sun, 11 May 2008 03:34:43 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1210491352 13558 80.91.229.12 (11 May 2008 07:35:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2008 07:35:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 11 09:36:27 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jv66c-0005AB-3f for ged-emacs-devel@m.gmane.org; Sun, 11 May 2008 09:36:26 +0200 Original-Received: from localhost ([127.0.0.1]:49756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jv65t-0000KD-Do for ged-emacs-devel@m.gmane.org; Sun, 11 May 2008 03:35:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jv65p-0000K7-7J for emacs-devel@gnu.org; Sun, 11 May 2008 03:35:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jv65n-0000Ji-Ik for emacs-devel@gnu.org; Sun, 11 May 2008 03:35:36 -0400 Original-Received: from [199.232.76.173] (port=58269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jv65m-0000JZ-Vx for emacs-devel@gnu.org; Sun, 11 May 2008 03:35:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:51412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jv65m-0007qm-Pn for emacs-devel@gnu.org; Sun, 11 May 2008 03:35:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Jv64x-0004r1-Id; Sun, 11 May 2008 03:34:43 -0400 In-reply-to: (joakim@verona.se) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:96959 Archived-At: Just to clarify, the placeholder widgets in non-selected windows, would be placeholders, not live buttons. They wont become live again until that window is selected again. I am not sure what a placeholder widget does. Would it work to click on one of these widgets? It is supposed to work. > I see a possible problem in the case where the widget is partially or > wholely scrolled off the screen. I had in mind getting the widgets to temporarily render into offscreen bitmaps. If you can do that, it should be easy for Emacs to handle displaying parts of that bitmap (or pixmap?) onto various parts of the screen as needed, and translating clicks on any of those parts to give them to the widget. The widget could be associated with the buffer and not have any specific location on the screen.