All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

default-library Function

Summary

Returns the default library.

Package

capi

Signature

default-library => library

Values
library
A library name.
Description

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.

See also

installed-libraries
19.5 CAPI communication with host window system - libraries


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42