From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: GTK3 Emacs Date: Fri, 01 Jul 2011 11:26:38 +0200 Message-ID: <4E0D92CE.4070509@swipnet.se> References: <87k4c3oru2.fsf@gmail.com> <4E0D72B2.40001@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309514097 6384 80.91.229.12 (1 Jul 2011 09:54:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 09:54:57 +0000 (UTC) Cc: Antoine Levitt , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 11:54:53 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 1QcaR1-0001tZ-VS for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 11:54:52 +0200 Original-Received: from localhost ([::1]:56544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcaR0-0007Gk-D5 for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 05:54:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcZzp-0007ti-Ip for emacs-devel@gnu.org; Fri, 01 Jul 2011 05:26:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcZzl-0006jH-55 for emacs-devel@gnu.org; Fri, 01 Jul 2011 05:26:45 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:48400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcZzk-0006i9-OX for emacs-devel@gnu.org; Fri, 01 Jul 2011 05:26:40 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 22D26EA3B9 for ; Fri, 1 Jul 2011 11:26:38 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au51AB+SDU5V4S1kPGdsb2JhbABSiQqPY45xCwEBAQEeGQ0liHvAd4YyBJcohFCGbQ X-IronPort-AV: E=Sophos;i="4.65,457,1304287200"; d="scan'208";a="204565345" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 01 Jul 2011 11:26:38 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 1AFFB7FA05A; Fri, 1 Jul 2011 11:26:38 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.127.194.20 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:141337 Archived-At: 2011-07-01 10:13, joakim@verona.se skrev: > Jan Dj=E4rv writes: > >> 2011-07-01 08:42, joakim@verona.se skrev: >>> Antoine Levitt writes: >>> >>>> 30/06/11 22:43, joakim@verona.se >>>>> I noticed that is now possible to compile Emacs with GTK3. It looks >>>>> pretty good! Thanks guys! >>>> >>>> Does it actually change anything? >>> >>> >>> Just the looks AFAICT. However, GTK3 has many differences at the API >>> level. I noticed this by trying to convert my xwidget branch to GTK3 = and >>> >>> I had to make many changes in my code, so the overall effort to conve= rt all of >>> Emacs to GTK3 must have been big. >>> >>> As an aside, some of the changes in GTK3 are annoying. The method of >>> clipping I employ in GTK2 no longer works for innstance. >> >> As Gtk3 now is all Cairo, I think you must do clipping on that level. >> Or is that behaving differently in Gtk2? >> It might also be that more widgets are windowless (i.e. writes into >> the parent window). > > Yes, I written some in the xwidget readme about it. The issue is mith > windowless widgets. They seem to simply ignore clipping area > requests. In GTK2 I was able to use GtkFixed and configure it to be > windowed. This no longer works in gtk3. > Have you tried to use GtkEventBox? Jan D.