Returns the default library.
capi
default-library => library
| library |
A library name. |
The function default-library returns a keyword naming the the default library.
On Linux, FreeBSD and x86/x64 Solaris platforms, the default library is :gtk. If you load the deprecated "capi-motif" module, then the library will be :motif.
On Microsoft Windows platforms, currently the only library available is :win32, hence this is the default library.
On macOS platforms, the only library available in the native GUI image is :cocoa, hence this is the default library. In the macOS/GTK+ image, the default library is :gtk, but you load the deprecated "capi-motif" module, then the library will be :motif.
installed-libraries
19.5 CAPI communication with host window system - libraries
CAPI User Guide and Reference Manual (Unix version) - 18 Feb 2025 15:34:22