Versions in this module Expand all Collapse all v0 v0.4.0 Nov 28, 2026 v0.3.4 Nov 26, 2026 v0.3.3 Nov 25, 2026 v0.3.2 Nov 25, 2026 v0.3.1 Nov 25, 2026 v0.3.0 Nov 23, 2026 v0.2.0 Nov 19, 2026 Changes in this version + const AuthLoopback + const EventDockMenu + const EventKeyDown + const SurfaceOverlay + const SurfacePanel + const SurfaceTrayIcon + const SurfaceWindow + const WebLoad + func MainFunc(run func() int) type App + AppleCredentialStates map[string]core.AppleCredentialState + AppleSignIn func(r core.AppleSignInRequest) (core.AppleCredential, error) + AppleSignIns []core.AppleSignInRequest + AuthAnswer func(s AuthSession) (callback string, err error) + AuthSessions []*AuthSession + DockMenu []driver.MenuEntry + Entitlements []core.Transaction + Finished []string + LocationCache *core.LocationFix + LookUps []LookUp + Opened []SurfaceConfig + PendingNotifications []core.Notification + Products []core.Product + PurchaseAnswer func(r core.PurchaseRequest) (core.Transaction, error) + PurchaseRequests []core.PurchaseRequest + Secrets *core.MemorySecrets + SetWebCookies func(cookies []core.WebCookie) error + Spoken []*Utterance + SyncAnswer error + Unfinished []core.Transaction + Voices []core.VoiceInfo + WebCookies []core.WebCookie + func StartApp(t testing.TB, app func(app *core.Scope), opts ...Option) *App + func (a *App) ActiveSensorStreams() int + func (a *App) ChooseDockMenu(path ...string) + func (a *App) CloseWindow() bool + func (a *App) FeedLocation(f core.LocationFix) + func (a *App) FeedMotion(m core.MotionSample) + func (a *App) FinishSpeaking(err core.SpeakError) + func (a *App) PauseVideo(selector string, reason core.VideoPauseReason) + func (a *App) PlayVideo(selector string) + func (a *App) PressAtWith(selector string, at driver.Point, mods driver.Modifiers) + func (a *App) PressWith(selector string, mods driver.Modifiers) + func (a *App) Speaking() *Utterance + func (a *App) UpdatePurchase(tr core.Transaction) + type AuthSession struct + Cancelled bool + Ephemeral bool + Redirect string + URL string + type LookUp struct + At core.Bounds + Text string type Option + func Clock(c *core.ManualClock) Option + func Idiom(idiom driver.Idiom) Option + func Secrets(values map[string]string) Option + func UnfinishedTransactions(txs ...core.Transaction) Option + func WallTime(t time.Time) Option + type SurfaceConfig = driver.SurfaceConfig + type SurfaceKind = driver.SurfaceKind + type TouchGeometry = driver.TouchGeometry + type Utterance struct + Error core.SpeakError + Finished bool + Lang string + Pitch float32 + Rate float32 + Stopped bool + Text string + Voice string type View + func (v *View) Bounds() core.Bounds type WebCommand + Data any + type WebSource = driver.WebSource v0.1.0 Nov 16, 2026 Changes in this version + const EventAccessibilityAction + const EventAlert + const EventAnimation + const EventBack + const EventBlur + const EventBuffer + const EventCaretMove + const EventChangeText + const EventClipboard + const EventCompositionChange + const EventContextMenu + const EventEnd + const EventError + const EventFileDragEnter + const EventFileDragLeave + const EventFileDrop + const EventFocus + const EventImageInfo + const EventKey + const EventKeyPress + const EventLoad + const EventLoadEnd + const EventLoadStart + const EventLongPress + const EventMenu + const EventMessage + const EventModalSize + const EventMomentumEnd + const EventMomentumStart + const EventMouseEnter + const EventMouseLeave + const EventMouseMove + const EventNative + const EventNativeSize + const EventNavigationStateChange + const EventPan + const EventPaste + const EventPinch + const EventPress + const EventPressDown + const EventPressOutside + const EventPressUp + const EventProgress + const EventRefresh + const EventRequestClose + const EventRotation + const EventScroll + const EventScrollDragEnd + const EventScrollDragStart + const EventSelectionChange + const EventSubmitEditing + const EventTouch + const EventWheel + const KindCanvas + const KindImage + const KindInput + const KindModal + const KindNative + const KindScroll + const KindShader + const KindText + const KindVideo + const KindView + const KindWeb + const PictureBackdrop + const PictureContent + const PictureFrom + const PictureTo + const PropBackground + const PropBorderColor + const PropCount + const PropOpacity + const PropRotate + const PropRotateX + const PropRotateY + const PropScale + const PropScaleX + const PropScaleY + const PropShadowColor + const PropShadowOpacity + const PropShadowRadius + const PropTextColor + const PropTranslateX + const PropTranslateY + const ShaderEffect + const ShaderFill + const ShaderNav + const ShaderScreen + const ShaderScreenTransition + const ShaderTransition + const WebGoBack + const WebGoForward + const WebInjectJavaScript + const WebPostMessage + const WebReload + const WebStopLoading + func Main(m *testing.M) + func Target() string + type AnimatedProp = driver.AnimatedProp + type AnimatedValues = driver.AnimatedValues + type App struct + AccessibilityFocus *View + Announced []string + Appearance driver.Appearance + AudioDurations map[string]time.Duration + AuthenticationReasons []string + Awake []AwakeHold + AwakeHolds []AwakeHold + AwakeReleases []uint32 + BackUnhandled int + Badge int + BiometricAnswer core.BiometricResult + BiometricAvailability core.BiometricKind + Clipboard string + ClipboardFiles []string + ClipboardImage []byte + Clock *core.ManualClock + DirectoryPicks []driver.DirectoriesRequest + FilePicks []driver.FilesRequest + Guide core.Permission + ImageSizes map[string]driver.Size + InputSource string + InstallAllowed bool + InstallSettings int + Installs []driver.SharedFile + Keymap []string + Language string + LanguageForced bool + LayoutAnimation *driver.LayoutAnimation + Menu []driver.MenuEntry + NotificationAnswer core.NotificationPermission + NotificationPermission core.NotificationPermission + Notifications []core.Notification + OnAlert func(driver.AlertConfig) int + OpenFile func(f driver.SharedFile) bool + OpenURL func(url string) bool + OpenedFiles []driver.SharedFile + OpenedURLs []string + Overlay *Overlay + OverlayAnswer core.OverlayPermission + OverlayPermission core.OverlayPermission + OverlaySettings int + PermissionAnswers map[core.Permission]core.PermissionStatus + PermissionSettings []core.Permission + Permissions map[core.Permission]core.PermissionStatus + Photos []driver.PickRequest + PickDirectories func(r driver.DirectoriesRequest) []driver.Directory + PickFiles func(r driver.FilesRequest) []driver.File + PickImages func(r driver.PickRequest) []driver.PickedFile + PickScreenColor func() (driver.Color, bool) + Picks []driver.PickRequest + Players []*AudioPlayer + PopupAt driver.Point + PopupMenu []driver.MenuEntry + Quits int + RefusePlayback bool + Restarts int + RevealFile func(path string) bool + RevealedFiles []string + SaveFile func(r driver.SaveRequest) string + Saves []driver.SaveRequest + Shares []driver.ShareRequest + Sounds []*Sound + Speech *driver.SpeechRequest + StatusBar driver.StatusBarConfig + TakePhoto func(r driver.PickRequest) (*driver.PickedFile, error) + TaskProgress core.TaskProgress + Title string + TrashFile func(path string) (string, error) + TrashedFiles []string + Update func(background bool) core.UpdateCheck + UpdateChecks []bool + Window []driver.WindowCommand + func Start(t testing.TB, app func(cx *core.Scope) core.Node, opts ...Option) *App + func (a *App) AccessibilityAction(selector, name string) + func (a *App) Advance(d time.Duration) + func (a *App) Alerts() []driver.AlertConfig + func (a *App) Animated(selector string) driver.ViewStyle + func (a *App) AnimatedValue(node uint32) float64 + func (a *App) Answer(index int) + func (a *App) AnswerScript(selector, result, errText string) + func (a *App) Back() + func (a *App) Bound(selector string) Bindings + func (a *App) Capture() image.Image + func (a *App) CapturePNG() []byte + func (a *App) ChooseMenu(path ...string) + func (a *App) ChoosePopup(path ...string) + func (a *App) Clear(selector string) + func (a *App) CloseGuide() + func (a *App) ClosePopup() + func (a *App) Commit(selector, text string) + func (a *App) Compose(selector, text string) + func (a *App) Drag(selector string, path ...driver.Point) + func (a *App) DragAt(selector string, at driver.Point, path ...driver.Point) + func (a *App) DragScroll(selector string, offset driver.Point, velocity float32) + func (a *App) DropFiles(selector string, uris ...string) + func (a *App) Dump() string + func (a *App) Emit(selector, name string, data any) + func (a *App) Enabled(selector string) bool + func (a *App) EndSpeech(err string) + func (a *App) Exists(selector string) bool + func (a *App) FastForward(d time.Duration) + func (a *App) Find(selector string) *View + func (a *App) FindMounted(selector string) *View + func (a *App) Focus(selector string) + func (a *App) GrantPermission(p core.Permission) + func (a *App) HeaderBack(selector string) + func (a *App) HearSpeech(text string, final bool) + func (a *App) Hover(selector string) + func (a *App) HoverAt(selector string, at driver.Point) + func (a *App) HoverOut() + func (a *App) Key(key string) + func (a *App) KeyPress(selector, key string) + func (a *App) Load(selector string, pixels driver.Size) + func (a *App) LongPress(selector string) + func (a *App) Mark(name string) + func (a *App) Navigate(selector string, nav driver.WebNavigation) + func (a *App) Pan(selector string, translations ...driver.Point) + func (a *App) Paste(selector string, p driver.PasteEvent) + func (a *App) Pinch(selector string, scales ...float32) + func (a *App) PinchZoom(selector string, scale float32) + func (a *App) Play(selector string, info core.VideoInfo) + func (a *App) Post(fn func()) + func (a *App) PostMessage(selector, data string) + func (a *App) PostMessageFrom(selector, url string, mainFrame bool, data string) + func (a *App) PresentModal(selector string, size driver.Size, insets driver.Edges) + func (a *App) Press(selector string) + func (a *App) PressAt(selector string, at driver.Point) + func (a *App) PressDown(selector string) + func (a *App) PressNotification(id string) + func (a *App) PressUp(selector string) + func (a *App) Progress(selector string, position, duration time.Duration) + func (a *App) PullToRefresh(selector string) + func (a *App) Query(selector string) []*View + func (a *App) QueryMounted(selector string) []*View + func (a *App) Report(ev driver.Event) + func (a *App) Resize(width, height driver.Points) + func (a *App) RevokeOverlayPermission() + func (a *App) RightClick(selector string) + func (a *App) Rotate(selector string, angles ...float32) + func (a *App) Screenshot(name string) + func (a *App) Scroll(selector string, distance driver.Points) + func (a *App) ScrollTo(selector string, offset driver.Point) + func (a *App) Select(selector string, start, end int) + func (a *App) SelectText(selector string, box driver.Bounds) + func (a *App) SetEnvironment(env driver.Environment) + func (a *App) Settle() + func (a *App) Span(selector string) driver.TextSpan + func (a *App) SpanStyle(selector string) driver.TextStyle + func (a *App) Storage() core.Storage + func (a *App) Submit(selector string) + func (a *App) SwipeClose(selector string) + func (a *App) Texts() []string + func (a *App) Touch(selector string, at driver.Point) *Finger + func (a *App) TouchpadScroll(selector string, velocity driver.Point, deltas ...driver.Point) + func (a *App) Type(selector, text string) + func (a *App) WaitFor(selector string, timeout time.Duration) *View + func (a *App) WaitForGone(selector string, timeout time.Duration) + func (a *App) WaitUntil(timeout time.Duration, cond func() bool) + func (a *App) Wheel(selector string, delta driver.Point, mods driver.Modifiers) + type AudioPlayer struct + Closed bool + Commands []string + Duration time.Duration + Loaded bool + Loop bool + Playing bool + Position time.Duration + Rate float32 + Session core.AudioSession + Source core.AudioSource + Volume float32 + type AwakeHold struct + ID uint32 + type Bindings struct + PanX uint32 + PanY uint32 + Pinch uint32 + Pull uint32 + Rotation uint32 + ScrollX uint32 + ScrollY uint32 + type Channel = driver.Channel + type Event = driver.Event + type EventKind = driver.EventKind + type EventMask = driver.EventMask + type Finger struct + func (g *Finger) Cancel() + func (g *Finger) Lift() + func (g *Finger) LiftAt(at driver.Point) + func (g *Finger) Move(at driver.Point) + type ImageConfig = driver.ImageConfig + type InputConfig = driver.InputConfig + type Microphone struct + Denied bool + Rate int + func (m *Microphone) Emit(samples []int16) + func (m *Microphone) Interrupt(silenced bool) + func (m *Microphone) Recording() bool + func (m *Microphone) Recordings() []Recorded + type ModalConfig = driver.ModalConfig + type NativeCommand struct + Args any + Name string + type Option func(*App) + func Environment(env driver.Environment) Option + func Errors(report func(error)) Option + func Host(h *core.Host) Option + func HotKeyTaken(keys ...string) Option + func HotKeyUnsupported(keys ...string) Option + func ManualFrames() Option + func Measure() Option + func MicrophoneInput(m *Microphone) Option + func NoCaretMoves() Option + func Offscreen() Option + func PendingAlerts() Option + func Size(width, height driver.Points) Option + func Storage(entries map[string]string) Option + func TextEngine(e driver.TextEngine) Option + type Overlay struct + Accessible bool + Closed bool + Ended core.OverlayEnd + Focusable bool + Frame driver.WindowFrame + Passive bool + Visible bool + type Pictures = driver.Pictures + type Recorded struct + Channels int + Duration time.Duration + Path string + Rate int + type ScreenConfig = driver.ScreenConfig + type ScrollConfig = driver.ScrollConfig + type ScrollEdge = driver.ScrollEdge + type Shader struct + Backwards bool + Lanes []float64 + Nodes []ShaderNode + Overflow float64 + Pictures Pictures + Role ShaderRole + Running bool + WGSL bool + type ShaderNode = driver.ShaderNode + type ShaderRole = driver.ShaderRole + type Sound struct + Duration time.Duration + Plays []core.SoundVoice + Source core.AudioSource + Stops int + Unloaded bool + type StatusBarConfig = driver.StatusBarConfig + type TextBackground = driver.TextBackground + type TextSpan = driver.TextSpan + type TextStyle = driver.TextStyle + type VideoConfig = driver.VideoConfig + type View struct + Animated driver.AnimatedValues + Applied uint32 + Children []*View + Component string + Composing string + Content driver.Size + Drawing *driver.Drawing + Ellipsize driver.EllipsizeMode + Events driver.EventMask + Focused bool + Frame driver.Bounds + Hovered bool + ID driver.NodeID + Image driver.ImageConfig + Input driver.InputConfig + Kind driver.ViewKind + MaxLines int + Modal driver.ModalConfig + NativeCommands []NativeCommand + NativeProps map[string]any + Node *driver.CanvasNode + Offset driver.Point + Ops []driver.DrawOp + Parent *View + Props driver.ViewProps + Screen driver.ScreenConfig + Scroll driver.ScrollConfig + Seeks []time.Duration + Selection driver.TextRange + Shader *Shader + ShaderInputs int + ShaderStarts int + Spans []driver.TextSpan + Sticky []driver.StickyCell + Style driver.ViewStyle + Text string + TextShadow driver.TextShadow + TextStyle driver.TextStyle + Video driver.VideoConfig + Web driver.WebConfig + WebCommands []WebCommand + ZoomScale float32 + func (v *View) StickyShift(id driver.NodeID) driver.Points + type ViewKind = driver.ViewKind + type ViewProps = driver.ViewProps + type ViewStyle = driver.ViewStyle + type WebCommand struct + Command driver.WebCommand + Value string + type WebCommandKind = driver.WebCommand + type WebConfig = driver.WebConfig