emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and GTK.


From: Jan D.
Subject: Re: Emacs and GTK.
Date: Sun, 02 Dec 2001 16:33:09 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6+) Gecko/20011122

William M. Perry wrote:

"Eric M. Ludlam" <address@hidden> writes:


"Jan D." <address@hidden> seems to think that:

 [ ... ]

It looks like more work than I initially thought, but it will take the time it takes. I was thinking of getting GTK in the same way as Motif is in emacs, but since GTK does not use Xt, and really insists on doing everything its own way, that is out. GTK really requires it's own event loop for instance.

 [ ... ]

I wrote an app that has several Xt interfaces, plus a GTK/Gnome
interface, and it doesn't use the gtk event loop.  It's a little
stale now, so I don't know if it compiles with the latest goodies,
but it might be worth a look.

http://gnutalk.sf.net


Thanks. It is basically what I am using (minus the XFlush). The problems I saw was incomplete redisplay when taking up the file dialog and then press cancel. I thought this was a GTK <-> X problem, but I now see Motif has the same problem (I will check it out).

Also, I get a lot of äassertion failed' from GTK. It tries to find the GtkWindow matching an X window, but since there are none, it puts out the 'assertion failed' stuff.




The problem with this is that it will not (likely) work with GTK 2.0 when
it is released, and GTK support on other window systems just won't work.
It would be nice to be able to have Emacs use GTK on MS-Windows, X-Windows,
BeOS, and MacOS directly.


Good point. The mixed X/GTK event loop is OK for development on X, but for it to work on other platforms, one must use "pure" GTK.

        Jan D.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]