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).
Click to show internal directories.
Click to hide internal directories.