From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Whats the right way to add gtk components to Emacs? Date: Sat, 02 Jul 2011 17:53:17 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309622031 5985 80.91.229.12 (2 Jul 2011 15:53:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2011 15:53:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 17:53:46 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qd2Vt-0005Dv-Tv for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2011 17:53:46 +0200 Original-Received: from localhost ([::1]:41228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd2Vs-0004Gk-RO for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2011 11:53:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd2Vd-0004GM-5t for emacs-devel@gnu.org; Sat, 02 Jul 2011 11:53:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qd2Vc-0003DG-78 for emacs-devel@gnu.org; Sat, 02 Jul 2011 11:53:29 -0400 Original-Received: from m1.alltele.net ([85.30.0.4]:52807 helo=smtp.alltele.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd2Vb-0003CH-Qd for emacs-devel@gnu.org; Sat, 02 Jul 2011 11:53:28 -0400 Original-Received: from chopper ([87.96.210.139]) by smtp.alltele.net (IceWarp 10.3.1 RC1) with ESMTP (SSL) id LWD09518 for ; Sat, 02 Jul 2011 17:53:18 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-CTCH: RefID="str=0001.0A0B0205.4E0F3EEF.0015,ss=1,re=0.000,fgs=0"; Spam="Unknown"; VOD="Unknown" X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Received-From: 85.30.0.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141444 Archived-At: I the Xwidget branch I add gtk components to the buffer. It works mostly well. Some cases dont work too well: - If I create a new toplevel window and add a component to it, Emacs crashes. - If I make an offscreen buffer and try to catch damage events, many events seemingly get lost. Emacs does some kind of trickery with X events which I suspect is the root cause. How does this work? How do I make my more complicated components work in this scheme? -- Joakim Verona