[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTK3 Emacs
From: |
joakim |
Subject: |
Re: GTK3 Emacs |
Date: |
Fri, 01 Jul 2011 10:13:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Jan Djärv <address@hidden> writes:
> 2011-07-01 08:42, address@hidden skrev:
>> Antoine Levitt<address@hidden> writes:
>>
>>> 30/06/11 22:43, address@hidden
>>>> 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