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: Sat, 10 May 2008 04:55:10 -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 1210410028 14684 80.91.229.12 (10 May 2008 09:00:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2008 09:00:28 +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 Sat May 10 11:01:03 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 1Jukwv-00087H-C3 for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 11:01:01 +0200 Original-Received: from localhost ([127.0.0.1]:48032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JukwD-0002xv-2B for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 05:00:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Juks5-0007Gy-7O for emacs-devel@gnu.org; Sat, 10 May 2008 04:56:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Juks3-0007Fh-I5 for emacs-devel@gnu.org; Sat, 10 May 2008 04:56:00 -0400 Original-Received: from [199.232.76.173] (port=48251 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juks3-0007FO-1x for emacs-devel@gnu.org; Sat, 10 May 2008 04:55:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34300) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Juks2-0002vf-Lx for emacs-devel@gnu.org; Sat, 10 May 2008 04:55:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JukrG-00039h-9x; Sat, 10 May 2008 04:55:10 -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:96920 Archived-At: - create new instances of the widgets for every window the widget is supposed to be shown. This is visualy appealing, but troublesome to implement, at least if each widget is really going to look like its counterpart in another window, especially for xembed. Would that work? In the case of xembed, can both widgets talk to the same process and show the same output? - the selected window and other windows are not drawn the same way. The selected window contains the real live widgets. The non-selected windows show some kind of shadow copy of the widget, in the simplest case a grey rectangle, more elaborately a bitmap copy of the widget at the time the window selection switch was made. That ought to do the job, if it is possible to get the whole output. I see a possible problem in the case where the widget is partially or wholely scrolled off the screen.