Factor/GSoC/2010/Replace X11 backend with a GTK or Qt backend
The Factor UI on Unix platforms uses raw Xlib to interface with the window system. While this has the benefit of minimizing the Factor UI's dependencies, Xlib is a much lower-level and more limited API than the Win32 and Cocoa libraries Factor uses on Windows and OS X, so the X11 backend doesn't support some UI features (such as native message boxes, file dialogs, and window decoration controls) that Factor provides for Windows and OS X. The X11 backend is also flaky and interacts poorly with tiling window managers, among other things. Most modern Unix workstations use either GNOME or KDE, so Factor's X11 backend should be replaced with a more robust and featureful UI backend built on GTK+ or Qt.
Add bindings for GTK+ or Qt libraries
Of the two, GTK+ will currently be the easiest to bind, since it has a raw C API that Factor's FFI can directly call out to. There has also been some work done with Glib-based library bindings to make them easy to use with Factor.
Replace the x11 backend
The UI backends are relatively simple and self-contained. The existing x11 backend lives in
This revision created on Wed, 3 Mar 2010 18:53:29 by jckarter
All content is © 2008-2010 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.