API Reference
dxtr edited this page 2026-10-18 16:23:22 +02:00

Page revisions

8 Commits

Author SHA1 Message Date
9aefb68f5d Describe the rectangle type and the declared argument types
A popup's rectangle is of the exported type rectangle now, which the API
reference and Popups name.  Errors says that SBCL checks the declared
argument types on entry, with the message it gives, and warns of a
constant of the wrong type as it compiles a call.
2026-10-18 16:23:22 +02:00
8688fe50d0 Describe event-modifiers
The mask of an event's modifiers, in modifier-bit's bits, is exported
now, with its writer, for comparing sets of modifiers and for filling
events.
2026-10-18 16:13:29 +02:00
64bb4b823c Follow cl-windowing's review fixes
open-window-system given no :backend uses the platform's backend,
:win32 on Windows and :wayland elsewhere, since *default-backend* is
gone; no-backend-error's backend is then always a keyword, and its
message for no backend at all is gone too.  The pages that described
the choice say so, and Backend Protocol says where a backend becomes a
platform's default.

Backend Protocol's example takes the lock through sys:with-lock, the
local nickname the backends' packages give cl-windowing/sys, which no
longer reads the environment.  Events and the API reference say that a
program reads events and backends write them, which is what the
exported setf writers of the event's fields are for.
2026-10-18 16:01:10 +02:00
3379406633 Describe dialogs, modal or not 2026-10-17 13:09:56 +02:00
11ead1f0b5 Describe place-rectangle, for popups a program draws itself 2026-10-17 12:26:49 +02:00
9eb2774cd8 Follow cl-windowing 031159f: Windows, popups, input methods, cursors, the clipboard
Add pages for popups, input methods, cursors and pointer modes, the
clipboard and the Win32 backend.  Bring the others up to date: the Win32
backend beside Wayland, fullscreen and set-window-size, copy-event and the
new event fields and types, the new capabilities and conditions, the
protocols the Wayland backend uses now, and the backend protocol's new
generic functions, reporting functions and lock rules.  CI runs the suite
on SBCL only.
2026-10-14 04:26:09 +02:00
f224de8cbe No pixels before the first size; releasing after a lost connection 2026-10-11 17:27:37 +02:00
0c20b5f963 Add the API Reference page 2026-10-11 16:28:18 +02:00