Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
b) Figure out whether the GtkEvent loop actually can handle not
being
in full control.
I think the answer here is yes. The details are described in Havoc's
book.
d) Rewrite event-Xt.c menubar-x.c scrollbar-x.c gui-x.c
input-method-*.c redisplay-x.c device-x.c.
Rewrite as in "write them from scratch to also support Gtk" or rewrite
as in "write new versions that support Gtk without touching the
originals"?
None of these need be rewritten in the first sense. Gtk works in an
almost totally different manner. You'd write a separate event-gtk.c,
menubar-gtk.c, etc.