unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org, Antoine Levitt <antoine.levitt@gmail.com>
Subject: Re: GTK3 Emacs
Date: Fri, 01 Jul 2011 10:13:01 +0200	[thread overview]
Message-ID: <m3tyb6ju5u.fsf@verona.se> (raw)
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")

Jan Djärv <jan.h.d@swipnet.se> writes:

> 2011-07-01 08:42, joakim@verona.se skrev:
>> Antoine Levitt<antoine.levitt@gmail.com>  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. 

>
> For Emacs, scroll bars may not be redrawn correctly for Gtk3, so there
> is definitly some changes in drawing.



>
> 	Jan D.

-- 
Joakim Verona



  reply	other threads:[~2011-07-01  8:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 20:43 GTK3 Emacs joakim
2011-06-30 22:52 ` Antoine Levitt
2011-07-01  6:42   ` joakim
2011-07-01  7:09     ` Jan Djärv
2011-07-01  8:13       ` joakim [this message]
2011-07-01  9:26         ` Jan Djärv
2011-07-01  6:55   ` Jan Djärv
2011-07-05  6:13 ` Ken Raeburn
2011-07-05  6:23   ` joakim
2011-07-05  9:20     ` David De La Harpe Golden
2011-07-05 11:30       ` joakim
2011-07-05 15:01         ` Chong Yidong
2011-07-05 16:43           ` Ulrich Mueller
2011-07-05 14:43     ` Ken Raeburn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3tyb6ju5u.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=antoine.levitt@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).