| Did you know ... | Search Documentation: |
| swipl.rc -- Associate XPCE with SWI-Prolog |
This file initialises XPCE, the SWI-Prolog native GUI. XPCE is initialised if one of these conditions is true.
xpce is truexpce is true. Otherwise it is
setup to be loaded lazily if one of the GUI IDE tools is invoked.
The source-location of this file is packages/xpce/swipl/swipl-rc. It is
installed as <plbase>/<exe-base>.rc, where <exe-base> is swipl-win
to associate with the SWI-Prolog gui application on Windows and
swipl on Unix/X11 platforms.
gui_setup_[private]default.
has_display is semidet[private]DISPLAY (X11) or WAYLAND_DISPLAY (Wayland). We also
assume we can run graphics if the SDL_VIDEO_DRIVER is set to
dummy, implying we try to run headless.
pce_setup_ is det[private]xpce is false: do not setup xpce.xpce is true: load xpce and set it up.xpce is not present. Now