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 09:09:38 +0200 Message-ID: <4E0D72B2.40001@swipnet.se> References: <87k4c3oru2.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309504208 14921 80.91.229.12 (1 Jul 2011 07:10:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 07:10:08 +0000 (UTC) Cc: emacs-devel@gnu.org, Antoine Levitt To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 09:10:04 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 1QcXrY-0006Pr-Aa for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 09:10:04 +0200 Original-Received: from localhost ([::1]:46646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXrX-00019w-63 for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 03:10:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXrD-000195-84 for emacs-devel@gnu.org; Fri, 01 Jul 2011 03:09:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcXrB-0004La-9u for emacs-devel@gnu.org; Fri, 01 Jul 2011 03:09:42 -0400 Original-Received: from smtprelay-b22.telenor.se ([195.54.99.213]:56036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXrA-0004LG-So for emacs-devel@gnu.org; Fri, 01 Jul 2011 03:09:41 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id 34C61EAF22 for ; Fri, 1 Jul 2011 09:09:39 +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: Alh5AHFyDU5V4S1kPGdsb2JhbABSiQqPY45vCwEBAQEeGQ0liHvAdIYyBJcmhFCGbA X-IronPort-AV: E=Sophos;i="4.65,456,1304287200"; d="scan'208";a="204530591" 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 09:09:38 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 50A0A7FA05A; Fri, 1 Jul 2011 09:09: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: 195.54.99.213 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:141322 Archived-At: 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 convert 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). For Emacs, scroll bars may not be redrawn correctly for Gtk3, so there is definitly some changes in drawing. Jan D.