API Reference gpui v#0.2.0

Copy Markdown View Source

Modules

Elixir-facing entry point for GPUI applications and views.

Bounded renderer-independent accessibility contracts for generic elements.

Behaviour and DSL for OTP-supervised GPUI applications.

Application-owned icon source metadata.

Stable process-wide identity for a GPUI application.

Programmatic builders for immutable GPUI.Element trees.

Compile-time hexadecimal RGB and RGBA color literals.

Declarative application command bound to a modified keyboard shortcut.

Renderer-independent inspection of authoritative GPUI snapshots and trees.

Development-time source reloading for a running GPUI runtime.

Behaviour for displays that present GPUI snapshots and return input events.

Serializable element tree produced by GPUI.View modules.

Normalized UI event delivered from a display into GPUI.Session.

Availability information for the optional native GPUI backend.

Generic packed 32-bit CPU raster image payload for GPUI image elements.

Display-side client for a remote GPUI application session.

SafeRPC endpoint for renderer-independent GPUI application sessions.

Reference to a remote/display resource such as a raster image.

Primary application-facing process API for one GPUI application and display.

Exception raised by a bang runtime operation when its non-bang form returns an error.

A synchronized runtime update delivered to GPUI.Runtime subscribers.

Canonical element, component, event, resource, and style protocol schema.

Declarative schema for one renderer-native element or UI component.

Compile-time metadata for one versioned renderer presentation contract.

Bounded display support for one exact presentation contract version.

Immutable composition of explicitly selected declarative schema modules.

Renderer-independent state engine for one running GPUI.Application.

Renderer-independent snapshot of a running GPUI.Session.

Typed shape of one serialized window in a GPUI.Snapshot.

Small Tailwind-compatible class normalizer for GPUI element styles.

HEEx-style template support for GPUI.

ExUnit helpers for renderer-independent application tests and deterministic GPUI interaction tests.

Deterministic in-memory display for session and runtime tests.

An opaque interactive UI handle supplied by use GPUI.Test, native: ....

A non-editable block rendered adjacent to an explicit logical text line.

Persistent native Rope text storage with revisioned atomic edits.

Window-relative native pixel bounds for a text surface's primary caret.

A neutral visual annotation attached to a logical text range.

An atomic replacement of one half-open text range.

Non-editable text rendered at an explicit logical text position.

A zero-based logical text position.

A half-open range between two GPUI.Text.Position values.

Window-relative native pixel bounds for one requested logical text range.

Window-relative native pixel rectangle for laid-out text.

A neutral shaping run for immutable rich text.

A directed selection represented by anchor and head positions.

An immutable snapshot of a persistent native text buffer.

A neutral shaping style applied to a logical text range.

A revisioned atomic set of text edits and resulting selections.

Result of applying a GPUI.Text.Transaction to a persistent text buffer.

A revision-tagged snapshot of one text surface's visible visual rows.

A bounded renderer-independent drag/drop event fact.

Bounded renderer-independent clipboard or drag/drop facts.

Renderer-independent queries over GPUI.Element and serialized element trees.

Behaviour for Elixir-rendered GPUI views.

Declarative window specification returned by the application DSL.