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
↓ 4 callers
Method
Toggle
()
testing.go:239
↓ 4 callers
Method
Top
Top attaches a view to the top edge of a Scaffold.
layout.go:109
↓ 4 callers
Method
Type
(text string)
testing.go:264
↓ 4 callers
Method
Types
Types restricts the picker to files with the given extensions. Extensions may be written with or without the leading dot: ".png" and "png" are both ac
dialog.go:146
↓ 4 callers
Method
assertSlice
Slice helpers on *StateValue[T] when T is a slice. Methods use reflection to inspect the element type; the first call on a non-slice T panics with a c
state_slice.go:14
↓ 4 callers
Function
hexByte
(hi, lo byte)
style.go:336
↓ 4 callers
Function
lerpU32
(a, b uint32, t float64)
style.go:315
↓ 4 callers
Function
newChildScope
(parent *Scope, onStateChange func())
scope.go:81
↓ 4 callers
Function
newState
(initial T, onStateChange func())
state.go:34
↓ 4 callers
Function
resolveColor
resolveColor converts either a concrete color.Color or a themeColor sentinel into a concrete color.Color. When a theme is provided and a semantic sent
style.go:90
↓ 4 callers
Function
waitFor
(t *testing.T, cond func() bool, d time.Duration)
internal/devserver/supervisor_test.go:146
↓ 3 callers
Method
Append
Append appends one or more items to a slice-typed state. Non-slice state panics.
state_slice.go:23
↓ 3 callers
Method
Bottom
Bottom attaches a view to the bottom edge of a Scaffold.
layout.go:119
↓ 3 callers
Function
NativeConfirm
NativeConfirm starts a confirm builder.
dialog.go:95
↓ 3 callers
Function
New
()
internal/fyne/bridge.go:58
↓ 3 callers
Method
OnClose
OnClose sets a callback invoked after the user dismisses the alert.
dialog.go:79
↓ 3 callers
Method
OnSubmit
(fn func(string))
input.go:19
↓ 3 callers
Method
PaddingTop
(v float32)
modifier.go:130
↓ 3 callers
Method
SetBadge
(text string)
dock.go:28
↓ 3 callers
Method
SetBadge
SetBadge sets the dock badge text. Pass "" to clear.
dock.go:53
↓ 3 callers
Method
SetMenu
(items []DockMenuItem)
dock.go:31
↓ 3 callers
Function
When
When conditionally renders a view. Returns a node that supports a chained .Else(fn) for the false case.
list.go:198
↓ 3 callers
Function
applyLayout
(spec *fyneBridge.ViewSpec, node *viewNode)
render.go:333
↓ 3 callers
Function
applyStrikethrough
applyStrikethrough adds Unicode combining long stroke overlay (\u0336) after every rune when enabled. This renders as a strikethrough in any font with
render.go:322
↓ 3 callers
Function
callFormatHelper
A standalone helper keeps the Format call anchored at one file:line so the caller-key-based memoization behaves the way it would in a real component r
gova_test.go:573
↓ 3 callers
Function
getOrCreateRef
getOrCreateRef retrieves existing ref by key, or creates it with the initial value.
scope.go:161
↓ 3 callers
Method
getOrCreateSignal
getOrCreateSignal looks up a derived signal in the cache, creating it with `create` on miss. Memoization is keyed by a caller-supplied string (typical
state.go:147
↓ 3 callers
Function
homeDir
homeDir returns the user's home directory, falling back to "" so the picker picks its own sensible default.
examples/dialogs/main.go:116
↓ 3 callers
Function
listableURI
listableURI converts a filesystem path to a fyne.ListableURI, returning nil if the conversion fails. Used when setting the start directory.
dialog_fyne.go:160
↓ 3 callers
Function
normalizeExtensions
normalizeExtensions trims and lowercases each extension and ensures it starts with a dot.
dialog.go:282
↓ 3 callers
Function
parseFlags
parseFlags parses the flagset against args, treating the first non-flag arg as the package path. Returns the package path (default ".") and leftover a
cmd/gova/main.go:86
↓ 3 callers
Method
rebuild
rebuild produces the canvas.Text instances for the current text, color, and width. Reuses existing canvas.Text objects when possible so the renderer's
internal/fyne/coloredtext.go:95
↓ 3 callers
Function
resolvePersistDir
(explicit string)
persist.go:89
↓ 3 callers
Function
sharedDock
sharedDock returns the process-wide Dock, creating it lazily.
dock.go:41
↓ 3 callers
Function
signalContext
signalContext returns a context that cancels on SIGINT/SIGTERM.
cmd/gova/main.go:71
↓ 3 callers
Function
takeDialogCB
(id uint64)
dialog_native_darwin.go:57
↓ 3 callers
Method
textSize
()
internal/fyne/coloredtext.go:78
↓ 3 callers
Method
textStyle
()
internal/fyne/coloredtext.go:74
↓ 3 callers
Function
traffic
(color: string)
docs-site/app/(home)/page.tsx:1262
↓ 3 callers
Function
usage
(w io.Writer)
cmd/gova/main.go:53
↓ 2 callers
Method
Bounce
()
dock.go:30
↓ 2 callers
Method
Bounce
Bounce requests the user's attention. On macOS this bounces the dock icon; on Windows it flashes the taskbar entry; on Linux it is a best-effort call.
dock.go:69
↓ 2 callers
Method
CanPop
CanPop returns true if there is more than just the root view on the stack.
nav.go:148
↓ 2 callers
Method
Cancel
Cancel overrides the cancel button label.
dialog.go:106
↓ 2 callers
Method
Confirm
Confirm overrides the confirm button label.
dialog.go:100
↓ 2 callers
Method
Default
Default pre-fills the filename field.
dialog.go:189
↓ 2 callers
Function
Derived
Derived creates a reactive signal that transforms state values. The signal auto-updates when the source state changes. Memoized by call site, so repe
signal.go:152
↓ 2 callers
Function
DerivedList
DerivedList extracts a reactive slice from a model state for use with List. Returns a *StateValue[[]T] that auto-updates when the source changes. Mem
list.go:231
↓ 2 callers
Method
Destructive
Destructive marks the confirm action as destructive. Presenters style it as a warning (red text on macOS, for example).
dialog.go:113
↓ 2 callers
Function
FilePicker
FilePicker starts an open-file builder.
dialog.go:141
↓ 2 callers
Method
FindButtonByLabel
FindButtonByLabel returns the first Button with a matching label.
testing.go:126
↓ 2 callers
Function
FolderPicker
FolderPicker starts a folder-picker builder.
dialog.go:235
↓ 2 callers
Function
Hex
(hex string)
style.go:319
↓ 2 callers
Method
Label
Label sets the toggle's label text. Works on Toggle nodes.
toggle.go:23
↓ 2 callers
Function
NativeAlert
NativeAlert starts an alert builder. Call Present(s) to show it.
dialog.go:68
↓ 2 callers
Method
NavTitle
NavTitle sets the title shown by the NavStack's title bar for the currently visible view. Apply on the view returned by Body.
nav.go:216
↓ 2 callers
Method
OK
OK overrides the confirm button label. Defaults to "OK".
dialog.go:73
↓ 2 callers
Method
PaddingBottom
(v float32)
modifier.go:140
↓ 2 callers
Method
Placement
(p TabPlacement)
nav.go:52
↓ 2 callers
Method
Pop
Pop removes the top of the stack. No-op if the root is the only entry.
nav.go:97
↓ 2 callers
Function
Run
Run starts the hot-reload loop and blocks until ctx is cancelled or an unrecoverable error is returned. A build failure is NOT unrecoverable; the exis
internal/devserver/server.go:34
↓ 2 callers
Method
Running
()
animate.go:138
↓ 2 callers
Function
SavePicker
SavePicker starts a save-file builder.
dialog.go:186
↓ 2 callers
Method
SetMenu
SetMenu replaces the dock right-click menu. Pass nil to clear.
dock.go:76
↓ 2 callers
Method
SetProgress
SetProgress sets the dock progress indicator. fraction is in [0, 1]. Pass a negative value to hide the indicator.
dock.go:61
↓ 2 callers
Method
ShowAlert
(opts AlertOptions)
dialog.go:11
↓ 2 callers
Method
Size
(name fyne.ThemeSizeName)
internal/fyne/theme.go:159
↓ 2 callers
Function
Tab
(label, icon string, content View)
nav.go:48
↓ 2 callers
Function
Toggle
Toggle creates a checkbox. Accepts either a *StateValue[bool] for state-driven binding, or a plain bool for the transient/row case. g.Toggle(darkMod
toggle.go:8
↓ 2 callers
Method
WithCurve
(c EaseCurve)
animate.go:31
↓ 2 callers
Method
addRecursive
(root string)
internal/devserver/watcher.go:74
↓ 2 callers
Method
addSubscriber
(fn func(T))
signal.go:45
↓ 2 callers
Function
buildHelper
buildHelper compiles a short Go program and returns the binary path. The binary sleeps until SIGTERM and writes "alive\n" then "bye\n".
internal/devserver/supervisor_test.go:16
↓ 2 callers
Method
buildNavBar
(bar *NavBarSpec)
internal/fyne/bridge.go:585
↓ 2 callers
Function
buildThemeConfig
(t *Theme)
gova.go:176
↓ 2 callers
Function
cExts
cExts converts Go extension strings into a NULL-terminated C array; the returned free function releases every allocation.
dialog_native_darwin.go:96
↓ 2 callers
Function
callDerivedListHelper
(st *StateValue[derivedListModel])
gova_test.go:631
↓ 2 callers
Function
contains
(haystack, needle string)
internal/devserver/supervisor_test.go:158
↓ 2 callers
Function
fadeOverlayColor
fadeOverlayColor returns a theme-background-colored rectangle alpha'd so that overlaying it on content blends toward the app background. opacity=1 mea
internal/fyne/bridge.go:139
↓ 2 callers
Function
fontSizeName
--- Mount helpers ---
internal/fyne/bridge.go:277
↓ 2 callers
Function
hexDigit
(b byte)
style.go:340
↓ 2 callers
Method
identity
()
store.go:22
↓ 2 callers
Function
newDerivedSignal
(source *StateValue[T], fn func(T) U)
signal.go:120
↓ 2 callers
Function
newFormatSignal
(source *StateValue[T], format string)
signal.go:84
↓ 2 callers
Method
notify
(val T)
signal.go:64
↓ 2 callers
Method
rebuildNavStackLayout
(m *MountedNode, topObj fyne.CanvasObject, bar *NavBarSpec)
internal/fyne/bridge.go:937
↓ 2 callers
Method
reconcileContainer
(m *MountedNode, s ViewSpec)
internal/fyne/bridge.go:812
↓ 2 callers
Method
resolve
resolve renders whichever branch applies; either branch may be nil.
list.go:186
↓ 2 callers
Function
resolveTree
(node *viewNode, scope *Scope)
testing.go:31
↓ 2 callers
Function
sanitizeKey
sanitizeKey replaces path-unsafe characters so a user-supplied key maps to a single file.
persist.go:107
↓ 2 callers
Method
setText
(s string)
internal/fyne/coloredtext.go:37
↓ 2 callers
Method
stopLocked
()
internal/devserver/supervisor.go:88
↓ 2 callers
Method
subscribe
(fn func(T))
signal.go:12
↓ 2 callers
Function
toSpec
(node *viewNode)
render.go:13
↓ 2 callers
Function
waitForFile
(t *testing.T, path string, d time.Duration)
persist_test.go:12
↓ 2 callers
Function
wrapViewable
wrapViewable turns a Viewable into a View by creating a componentNode whose renderFn invokes Body with the current scope.
component.go:53
↓ 1 callers
Method
AccessibilityLabel
AccessibilityLabel sets the text read by screen readers for this view.
modifier.go:291
↓ 1 callers
Method
AccessibilityRole
AccessibilityRole hints the semantic role of this view.
modifier.go:305
↓ 1 callers
Function
Animate
(duration time.Duration)
animate.go:27
↓ 1 callers
Method
Body
(s *Scope)
component.go:41
← previous
next →
101–200 of 609, ranked by callers