signals

command
v0.1.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Example: gogpu/ui — Signals Demo

Demonstrates reactive signal bindings in the gogpu/ui widget toolkit. Each section showcases a different signal feature:

  • TextSignal / ContentSignal — reactive text updates
  • CheckedSignal — two-way checkbox binding
  • SelectedSignal — two-way radio group binding
  • DisabledSignal — reactive disabled state

Architecture:

ui widgets → render.Canvas (gg) → ggcanvas → GPU surface (zero-copy)

Rendering: event-driven (default since gogpu v0.43.0). 0% CPU when idle. Redraws only on user interaction (click, key, resize).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL