Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NV404/gova
/ functions
Functions
609 in github.com/NV404/gova
⨍
Functions
609
◇
Types & classes
136
↓ 83 callers
Method
Get
Get returns the current ref value.
state.go:195
↓ 60 callers
Method
viewNode
()
view.go:4
↓ 57 callers
Method
Background
(c any)
modifier.go:201
↓ 51 callers
Method
Set
Set updates the ref value without triggering a re-render.
state.go:202
↓ 47 callers
Method
Text
()
testing.go:257
↓ 46 callers
Function
newScope
newScope creates a fresh scope for a component.
scope.go:69
↓ 39 callers
Function
Text
(content any)
text.go:11
↓ 34 callers
Function
rgb
(r, g, b uint8)
style.go:221
↓ 30 callers
Method
Color
Color sets the foreground color. Accepts a plain color.Color (fixed) or a semantic color constant (g.Primary, g.Accent, etc.) which resolves against t
modifier.go:196
↓ 30 callers
Function
rgb
(r, g, b uint8)
internal/fyne/theme.go:319
↓ 22 callers
Method
Font
(style FontStyle)
modifier.go:170
↓ 22 callers
Method
Mount
(spec ViewSpec)
internal/fyne/bridge.go:62
↓ 20 callers
Method
Spacing
Spacing sets inter-child gap in pixels.
layout.go:70
↓ 18 callers
Method
Bold
()
modifier.go:175
↓ 18 callers
Function
getOrCreateState
getOrCreateState retrieves existing state by key, or creates it with the initial value.
scope.go:147
↓ 17 callers
Method
Present
Present shows the picker.
dialog.go:176
↓ 17 callers
Method
Update
Update applies a transformation to the current value. The callback receives the current value (defensively copied for slices/maps) and must return the
state.go:72
↓ 17 callers
Function
asView
asView converts an argument passed to a layout constructor into a View. Accepts View (returned as-is), Viewable (wrapped), and nil (returned as nil so
component.go:64
↓ 16 callers
Function
Define
(fn func(*Scope) View)
component.go:33
↓ 16 callers
Method
OnCancel
OnCancel is called when the user dismisses the picker without a choice.
dialog.go:164
↓ 16 callers
Method
State
State retrieves a state value from the test scope by its caller key.
testing.go:198
↓ 16 callers
Method
String
()
internal/devserver/supervisor_test.go:60
↓ 15 callers
Method
FindText
FindText returns the nth Text node's value (depth-first).
testing.go:83
↓ 15 callers
Method
Refresh
()
internal/fyne/coloredtext.go:185
↓ 14 callers
Function
UseStore
UseStore retrieves a store from the nearest ancestor that Provided it. Returns a *StateValue[T] that can be read and written. Changes trigger re-rende
store.go:45
↓ 14 callers
Method
destroy
destroy cancels the scope's context and invokes effect cleanup functions. Child scopes are destroyed recursively so any effects or subscriptions insid
scope.go:121
↓ 13 callers
Method
Padding
(all float32)
modifier.go:98
↓ 12 callers
Method
OnPick
OnPick is called with the selected absolute path when the user confirms.
dialog.go:158
↓ 12 callers
Function
Provide
Provide makes a store available to all descendant components in this scope's subtree.
store.go:30
↓ 12 callers
Method
RGBA
()
style.go:71
↓ 12 callers
Method
notifyInternal
(v T)
state.go:132
↓ 11 callers
Method
SetColor
(name ThemeColorName, c color.Color)
style.go:256
↓ 11 callers
Function
VStack
(children ...any)
layout.go:33
↓ 11 callers
Function
toSpecWithScope
(node *viewNode, scope *Scope)
render.go:17
↓ 10 callers
Method
NodeCount
NodeCount returns the total number of nodes of the given kind.
testing.go:185
↓ 10 callers
Method
Value
()
signal.go:11
↓ 10 callers
Function
applyCurve
(t float32, curve EaseCurve)
animate.go:142
↓ 10 callers
Function
renderComponent
renderComponent invokes the component's renderFn. If an ErrorBoundary has registered a fallback on this component, panics are recovered and the fallba
component.go:16
↓ 10 callers
Function
rgba
(r, g, b, a uint8)
style.go:222
↓ 10 callers
Function
rgba
(r, g, b, a uint8)
internal/fyne/theme.go:320
↓ 9 callers
Method
Close
Close stops the watcher. Safe to call multiple times.
internal/devserver/watcher.go:62
↓ 9 callers
Method
Events
Events returns a receive-only channel that fires once per debounced change.
internal/devserver/watcher.go:59
↓ 9 callers
Method
Format
Format returns a Signal[string] that auto-updates when this state changes. Uses fmt.Sprintf with the provided format string. Memoized by call site +
state.go:90
↓ 9 callers
Method
PaddingH
PaddingH sets horizontal padding (leading + trailing).
modifier.go:109
↓ 9 callers
Method
childScopeFor
childScopeFor returns the child scope for a given slot ID, creating it on first access. Slot IDs must be stable across renders for state to persist: t
scope.go:91
↓ 9 callers
Function
childSpecsWithScope
(node *viewNode, scope *Scope)
render.go:345
↓ 9 callers
Method
innerObject
()
internal/fyne/bridge.go:33
↓ 9 callers
Function
renderSlot
renderSlot is the single entry point for rendering a node that *might* be a component reference sitting in a named slot (a child position, a scaffold
render.go:358
↓ 8 callers
Function
Build
Build compiles pkg (a Go package path, e.g. "." or "./cmd/app") to out. It uses `go build` in the provided working directory. Context cancellation kil
internal/devserver/builder.go:29
↓ 8 callers
Function
callerKey
callerKey returns "file:line" for the caller N frames up the stack. This provides automatic, stable identity for State/Ref calls.
scope.go:37
↓ 7 callers
Function
NewWatcher
NewWatcher starts a watcher on opts.Root. Events is buffered size 1; callers that lag will coalesce further (no missed reloads, just batched).
internal/devserver/watcher.go:35
↓ 7 callers
Method
OnConfirm
OnConfirm is called when the user taps the confirm button.
dialog.go:119
↓ 7 callers
Method
OnError
OnError is called when the dialog surfaces a system error.
dialog.go:170
↓ 7 callers
Method
PaddingV
PaddingV sets vertical padding (top + bottom).
modifier.go:120
↓ 7 callers
Method
Reconcile
(mounted *MountedNode, newSpec ViewSpec)
internal/fyne/bridge.go:236
↓ 7 callers
Function
TestRender
TestRender renders a component headlessly and returns a RenderedTree for querying and simulating interactions. No Fyne window is created.
testing.go:7
↓ 7 callers
Function
waitEvent
waitEvent blocks for an event with a deadline. Returns true if one arrived.
internal/devserver/watcher_test.go:11
↓ 6 callers
Function
Button
(label string, handler func())
button.go:11
↓ 6 callers
Method
CornerRadius
CornerRadius rounds the view's visual box.
modifier.go:270
↓ 6 callers
Method
Grow
Grow marks a child of an HStack/VStack to expand and fill available space on the stack's primary axis. Siblings pack at their natural size. In an HSta
modifier.go:249
↓ 6 callers
Method
OnSave
OnSave is called with the selected destination path.
dialog.go:207
↓ 6 callers
Method
Restart
Restart stops the current child (if any) and starts a fresh one. Returns the start error if the new process cannot be spawned.
internal/devserver/supervisor.go:38
↓ 6 callers
Method
StartDir
StartDir sets the directory the picker opens in.
dialog.go:152
↓ 6 callers
Method
Stop
Stop terminates the child and does not restart it.
internal/devserver/supervisor.go:46
↓ 6 callers
Function
UseSheet
UseSheet returns (show, dismiss) functions for presenting a sheet overlay. dismiss programmatically closes the most recently shown sheet; it is a no-o
overlay.go:45
↓ 6 callers
Function
preserveInner
preserveInner records the original widget as node.Inner so reconcilers can still reach it after wrapping. No-op if already set.
internal/fyne/bridge.go:85
↓ 6 callers
Function
run
(args []string, stdout, stderr io.Writer)
cmd/gova/main.go:28
↓ 6 callers
Function
scopeWithPresenter
scopeWithPresenter returns a scope that has the given presenter published.
dialog_test.go:27
↓ 6 callers
Function
specColor
(c [4]uint8)
internal/fyne/bridge.go:361
↓ 6 callers
Function
stackNode
(kind viewKind, children []any)
layout.go:53
↓ 6 callers
Function
walkNodes
walkNodes does depth-first traversal. Callback returns false to stop.
testing.go:280
↓ 6 callers
Function
writeModule
(t *testing.T, dir, mainBody string)
internal/devserver/builder_test.go:13
↓ 5 callers
Method
Cleanup
()
internal/fyne/bridge.go:40
↓ 5 callers
Method
Error
()
internal/devserver/builder.go:17
↓ 5 callers
Method
Exists
()
testing.go:209
↓ 5 callers
Method
Len
Len returns the length of the value if it's a slice. Panics otherwise. Convenience for len(state.Get()) that doesn't require a full Get().
state.go:103
↓ 5 callers
Method
OnChange
(fn func(bool))
toggle.go:30
↓ 5 callers
Method
OnTap
OnTap makes any view tappable. Panics if applied to a Button (which already has a handler via its constructor).
modifier.go:261
↓ 5 callers
Function
PersistDir
PersistDir overrides the directory where values are written.
persist.go:64
↓ 5 callers
Function
PersistedState
PersistedState behaves like State, but the value round-trips through a file on disk whenever it changes. On first render, if the file already contains
persist.go:24
↓ 5 callers
Method
Placeholder
(p string)
input.go:12
↓ 5 callers
Method
Push
Push appends a view to the stack; it becomes the visible screen. Accepts a View or a Viewable (pass a struct literal like DetailView{ID: 42}).
nav.go:81
↓ 5 callers
Method
Stop
()
animate.go:132
↓ 5 callers
Method
WithAccent
(c color.Color)
style.go:251
↓ 5 callers
Method
funcs
()
overlay_test.go:19
↓ 5 callers
Function
internalSubCount
internalSubCount reports how many callbacks the source state is currently fanning out to. Tests use it to guard against subscriber leaks: repeated ren
gova_test.go:564
↓ 5 callers
Method
mountBox
(spec ViewSpec, vertical bool)
internal/fyne/bridge.go:430
↓ 5 callers
Method
onChangeInternal
onChangeInternal registers an internal subscriber (used by signals and PersistedState). Returns an unsubscribe function so callers that manage their o
state.go:113
↓ 5 callers
Function
registerDialogCB
(cb *dialogCallbacks)
dialog_native_darwin.go:49
↓ 5 callers
Function
resolvePresenter
resolvePresenter returns the presenter published on s (or any ancestor), or nil if none has been published.
dialog.go:269
↓ 4 callers
Method
Align
Align sets the cross-axis alignment for VStack/HStack, or full 2D alignment for ZStack.
layout.go:79
↓ 4 callers
Method
Click
()
testing.go:220
↓ 4 callers
Method
Close
()
dock.go:32
↓ 4 callers
Method
FindButton
FindButton returns the nth Button node (depth-first).
testing.go:106
↓ 4 callers
Method
Rerender
Rerender triggers a re-render of the component and updates the tree.
testing.go:74
↓ 4 callers
Method
SetProgress
(fraction float64)
dock.go:29
↓ 4 callers
Method
Start
Start begins the animation with the given tick callback. The tick function receives values from 0.0 to 1.0.
animate.go:63
↓ 4 callers
Function
State
State creates or retrieves reactive state for the current component. Identity is determined automatically by the call site (file:line via runtime.Call
state.go:176
↓ 4 callers
Method
Stroke
Stroke adds a colored border (stroke) around the view's visual box. Named Stroke (not Border) because "Border" was the name of the old layout primitiv
modifier.go:285
↓ 4 callers
Function
TextField
(state *StateValue[string])
input.go:3
next →
1–100 of 609, ranked by callers