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: Re: GTK3 Emacs Date: Fri, 01 Jul 2011 10:13:01 +0200 Message-ID: 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 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309510615 18270 80.91.229.12 (1 Jul 2011 08:56:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 08:56:55 +0000 (UTC) Cc: emacs-devel@gnu.org, Antoine Levitt To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 10:56:51 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 1QcZWs-0003Vb-1G for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 10:56:50 +0200 Original-Received: from localhost ([::1]:42126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcZWq-0007pA-Rr for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 04:56:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcYqY-0004kP-RZ for emacs-devel@gnu.org; Fri, 01 Jul 2011 04:13:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcYqW-00018m-Le for emacs-devel@gnu.org; Fri, 01 Jul 2011 04:13:06 -0400 Original-Received: from batman.blixtvik.net ([87.96.254.3]:57912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcYqW-00018f-5f for emacs-devel@gnu.org; Fri, 01 Jul 2011 04:13:04 -0400 Original-Received: from chopper (139-210-96-87.cust.blixtvik.se [87.96.210.139]) by batman.blixtvik.net (Postfix) with ESMTP id 16B3B7F89C6; Fri, 1 Jul 2011 10:13:01 +0200 (CEST) In-Reply-To: <4E0D72B2.40001@swipnet.se> ("Jan \=\?iso-8859-1\?Q\?Dj\=E4rv\=22's\?\= message of "Fri, 01 Jul 2011 09:09:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 87.96.254.3 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:141333 Archived-At: 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 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). 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.=20 > > For Emacs, scroll bars may not be redrawn correctly for Gtk3, so there > is definitly some changes in drawing. > > Jan D. --=20 Joakim Verona