![]() |
The graphical user interface | ![]() |
These chapters describe how TeXmacs builds its graphical user interface. All menus, toolbars, side panes and dialogs are described by abstract widgets, which are mostly built from Scheme and translated into concrete widgets by a port for a particular toolkit (
src/Plugins
, chosen with ./configure --with-gui=…):
Qt (qt, the default): native Qt 5 or 6 widgets, in
Plugins/Qt
; --enable-qt-new (the default on Android) takes the fork for Qt 6.10 and later in
Plugins/Qt6
instead.
Qtwk (qtwk): Qt as a platform layer only, with the Widkit widgets of TeXmacs.
X11 (x11) and SDL (sdl, SDL 3 and MuPDF): the Widkit widgets on these window systems.
Vue (vue): SDL 3 windows, widgets drawn in immediate mode by Clay, documents drawn by MuPDF or on the GPU; see the Vue port.
Cocoa (cocoa or aqua): the native macOS port in
Plugins/NS
; see the Cocoa port.
The first chapter describes the abstract widget system and its Qt implementation; the second one builds the interface as TeXmacs documents instead (the graphical user interface through markup); the third one compares the ports and explains how a port is selected and built; the last one describes the historical Widkit toolkit, which is used by the X11, SDL and Qtwk ports.
The windows of TeXmacs documents, and the editors which they contain, are described in the server: buffers, views and windows.