MCPcopy Create free account

hub / github.com/NV404/gova / functions

Functions609 in github.com/NV404/gova

↓ 4 callersMethodToggle
()
testing.go:239
↓ 4 callersMethodTop
Top attaches a view to the top edge of a Scaffold.
layout.go:109
↓ 4 callersMethodType
(text string)
testing.go:264
↓ 4 callersMethodTypes
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 callersMethodassertSlice
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 callersFunctionhexByte
(hi, lo byte)
style.go:336
↓ 4 callersFunctionlerpU32
(a, b uint32, t float64)
style.go:315
↓ 4 callersFunctionnewChildScope
(parent *Scope, onStateChange func())
scope.go:81
↓ 4 callersFunctionnewState
(initial T, onStateChange func())
state.go:34
↓ 4 callersFunctionresolveColor
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 callersFunctionwaitFor
(t *testing.T, cond func() bool, d time.Duration)
internal/devserver/supervisor_test.go:146
↓ 3 callersMethodAppend
Append appends one or more items to a slice-typed state. Non-slice state panics.
state_slice.go:23
↓ 3 callersMethodBottom
Bottom attaches a view to the bottom edge of a Scaffold.
layout.go:119
↓ 3 callersFunctionNativeConfirm
NativeConfirm starts a confirm builder.
dialog.go:95
↓ 3 callersFunctionNew
()
internal/fyne/bridge.go:58
↓ 3 callersMethodOnClose
OnClose sets a callback invoked after the user dismisses the alert.
dialog.go:79
↓ 3 callersMethodOnSubmit
(fn func(string))
input.go:19
↓ 3 callersMethodPaddingTop
(v float32)
modifier.go:130
↓ 3 callersMethodSetBadge
(text string)
dock.go:28
↓ 3 callersMethodSetBadge
SetBadge sets the dock badge text. Pass "" to clear.
dock.go:53
↓ 3 callersMethodSetMenu
(items []DockMenuItem)
dock.go:31
↓ 3 callersFunctionWhen
When conditionally renders a view. Returns a node that supports a chained .Else(fn) for the false case.
list.go:198
↓ 3 callersFunctionapplyLayout
(spec *fyneBridge.ViewSpec, node *viewNode)
render.go:333
↓ 3 callersFunctionapplyStrikethrough
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 callersFunctioncallFormatHelper
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 callersFunctiongetOrCreateRef
getOrCreateRef retrieves existing ref by key, or creates it with the initial value.
scope.go:161
↓ 3 callersMethodgetOrCreateSignal
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 callersFunctionhomeDir
homeDir returns the user's home directory, falling back to "" so the picker picks its own sensible default.
examples/dialogs/main.go:116
↓ 3 callersFunctionlistableURI
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 callersFunctionnormalizeExtensions
normalizeExtensions trims and lowercases each extension and ensures it starts with a dot.
dialog.go:282
↓ 3 callersFunctionparseFlags
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 callersMethodrebuild
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 callersFunctionresolvePersistDir
(explicit string)
persist.go:89
↓ 3 callersFunctionsharedDock
sharedDock returns the process-wide Dock, creating it lazily.
dock.go:41
↓ 3 callersFunctionsignalContext
signalContext returns a context that cancels on SIGINT/SIGTERM.
cmd/gova/main.go:71
↓ 3 callersFunctiontakeDialogCB
(id uint64)
dialog_native_darwin.go:57
↓ 3 callersMethodtextSize
()
internal/fyne/coloredtext.go:78
↓ 3 callersMethodtextStyle
()
internal/fyne/coloredtext.go:74
↓ 3 callersFunctiontraffic
(color: string)
docs-site/app/(home)/page.tsx:1262
↓ 3 callersFunctionusage
(w io.Writer)
cmd/gova/main.go:53
↓ 2 callersMethodBounce
()
dock.go:30
↓ 2 callersMethodBounce
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 callersMethodCanPop
CanPop returns true if there is more than just the root view on the stack.
nav.go:148
↓ 2 callersMethodCancel
Cancel overrides the cancel button label.
dialog.go:106
↓ 2 callersMethodConfirm
Confirm overrides the confirm button label.
dialog.go:100
↓ 2 callersMethodDefault
Default pre-fills the filename field.
dialog.go:189
↓ 2 callersFunctionDerived
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 callersFunctionDerivedList
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 callersMethodDestructive
Destructive marks the confirm action as destructive. Presenters style it as a warning (red text on macOS, for example).
dialog.go:113
↓ 2 callersFunctionFilePicker
FilePicker starts an open-file builder.
dialog.go:141
↓ 2 callersMethodFindButtonByLabel
FindButtonByLabel returns the first Button with a matching label.
testing.go:126
↓ 2 callersFunctionFolderPicker
FolderPicker starts a folder-picker builder.
dialog.go:235
↓ 2 callersFunctionHex
(hex string)
style.go:319
↓ 2 callersMethodLabel
Label sets the toggle's label text. Works on Toggle nodes.
toggle.go:23
↓ 2 callersFunctionNativeAlert
NativeAlert starts an alert builder. Call Present(s) to show it.
dialog.go:68
↓ 2 callersMethodNavTitle
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 callersMethodOK
OK overrides the confirm button label. Defaults to "OK".
dialog.go:73
↓ 2 callersMethodPaddingBottom
(v float32)
modifier.go:140
↓ 2 callersMethodPlacement
(p TabPlacement)
nav.go:52
↓ 2 callersMethodPop
Pop removes the top of the stack. No-op if the root is the only entry.
nav.go:97
↓ 2 callersFunctionRun
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 callersMethodRunning
()
animate.go:138
↓ 2 callersFunctionSavePicker
SavePicker starts a save-file builder.
dialog.go:186
↓ 2 callersMethodSetMenu
SetMenu replaces the dock right-click menu. Pass nil to clear.
dock.go:76
↓ 2 callersMethodSetProgress
SetProgress sets the dock progress indicator. fraction is in [0, 1]. Pass a negative value to hide the indicator.
dock.go:61
↓ 2 callersMethodShowAlert
(opts AlertOptions)
dialog.go:11
↓ 2 callersMethodSize
(name fyne.ThemeSizeName)
internal/fyne/theme.go:159
↓ 2 callersFunctionTab
(label, icon string, content View)
nav.go:48
↓ 2 callersFunctionToggle
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 callersMethodWithCurve
(c EaseCurve)
animate.go:31
↓ 2 callersMethodaddRecursive
(root string)
internal/devserver/watcher.go:74
↓ 2 callersMethodaddSubscriber
(fn func(T))
signal.go:45
↓ 2 callersFunctionbuildHelper
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 callersMethodbuildNavBar
(bar *NavBarSpec)
internal/fyne/bridge.go:585
↓ 2 callersFunctionbuildThemeConfig
(t *Theme)
gova.go:176
↓ 2 callersFunctioncExts
cExts converts Go extension strings into a NULL-terminated C array; the returned free function releases every allocation.
dialog_native_darwin.go:96
↓ 2 callersFunctioncallDerivedListHelper
(st *StateValue[derivedListModel])
gova_test.go:631
↓ 2 callersFunctioncontains
(haystack, needle string)
internal/devserver/supervisor_test.go:158
↓ 2 callersFunctionfadeOverlayColor
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 callersFunctionfontSizeName
--- Mount helpers ---
internal/fyne/bridge.go:277
↓ 2 callersFunctionhexDigit
(b byte)
style.go:340
↓ 2 callersMethodidentity
()
store.go:22
↓ 2 callersFunctionnewDerivedSignal
(source *StateValue[T], fn func(T) U)
signal.go:120
↓ 2 callersFunctionnewFormatSignal
(source *StateValue[T], format string)
signal.go:84
↓ 2 callersMethodnotify
(val T)
signal.go:64
↓ 2 callersMethodrebuildNavStackLayout
(m *MountedNode, topObj fyne.CanvasObject, bar *NavBarSpec)
internal/fyne/bridge.go:937
↓ 2 callersMethodreconcileContainer
(m *MountedNode, s ViewSpec)
internal/fyne/bridge.go:812
↓ 2 callersMethodresolve
resolve renders whichever branch applies; either branch may be nil.
list.go:186
↓ 2 callersFunctionresolveTree
(node *viewNode, scope *Scope)
testing.go:31
↓ 2 callersFunctionsanitizeKey
sanitizeKey replaces path-unsafe characters so a user-supplied key maps to a single file.
persist.go:107
↓ 2 callersMethodsetText
(s string)
internal/fyne/coloredtext.go:37
↓ 2 callersMethodstopLocked
()
internal/devserver/supervisor.go:88
↓ 2 callersMethodsubscribe
(fn func(T))
signal.go:12
↓ 2 callersFunctiontoSpec
(node *viewNode)
render.go:13
↓ 2 callersFunctionwaitForFile
(t *testing.T, path string, d time.Duration)
persist_test.go:12
↓ 2 callersFunctionwrapViewable
wrapViewable turns a Viewable into a View by creating a componentNode whose renderFn invokes Body with the current scope.
component.go:53
↓ 1 callersMethodAccessibilityLabel
AccessibilityLabel sets the text read by screen readers for this view.
modifier.go:291
↓ 1 callersMethodAccessibilityRole
AccessibilityRole hints the semantic role of this view.
modifier.go:305
↓ 1 callersFunctionAnimate
(duration time.Duration)
animate.go:27
↓ 1 callersMethodBody
(s *Scope)
component.go:41
← previousnext →101–200 of 609, ranked by callers