The Xlib Emulation Layer is Tk's traditional mechanism for factoring cross-platform support. Replacement of XLEL is, in one sense, the main aim of [TkGS], a project initiated by [Frederic Bonnet].