MCPcopy Create free account
hub / github.com/NV404/gova / SetProgress

Method SetProgress

dock.go:61–65  ·  view source on GitHub ↗

SetProgress sets the dock progress indicator. fraction is in [0, 1]. Pass a negative value to hide the indicator.

(fraction float64)

Source from the content-addressed store, hash-verified

59// SetProgress sets the dock progress indicator. fraction is in [0, 1].
60// Pass a negative value to hide the indicator.
61func (d *Dock) SetProgress(fraction float64) {
62 d.mu.Lock()
63 defer d.mu.Unlock()
64 d.impl.SetProgress(fraction)
65}
66
67// Bounce requests the user's attention. On macOS this bounces the dock icon;
68// on Windows it flashes the taskbar entry; on Linux it is a best-effort call.

Callers 1

Calls 1

SetProgressMethod · 0.65

Tested by 1