API Reference gpui v#0.2.0-rc.1

Copy Markdown View Source

Modules

Elixir-facing DSL 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.

Declarative application command bound to a modified keyboard shortcut.

Display boundary for rendered GPUI session snapshots and native input events.

Serializable element tree produced by GPUI.View modules.

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

Backend-neutral native boundary used by GPUI runtime and resource APIs.

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

Display-side client for a remote GPUI application session.

Transport-independent contract between a remote application session and display.

SafeRPC endpoint for renderer-independent GPUI application sessions.

Length-prefixed ETF transport over TCP, with optional SSL.

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

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

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.

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.

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.