Documentation ¶
Overview ¶
Package util contains various small helper functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeValidator ¶
CodeValidator provides a validator for wormhole codes.
func UserDownloadsFolder ¶
func UserDownloadsFolder() string
UserDownloadsFolder returns the downloads folder corresponding to the current user.
func WindowSizeToDialog ¶
func WindowSizeToDialog(s fyne.Size) fyne.Size
WindowSizeToDialog scales the window size to a suitable dialog size.
Types ¶
type ProgressReader ¶ added in v3.4.0
type ProgressReader struct { Max int64 // contains filtered or unexported fields }
func NewProgressReader ¶ added in v3.4.0
NewProgressReader returns a wrapped Reader that updates the progress bar.
func NewProgressReaderAt ¶ added in v3.4.0
NewProgressReaderAt returns a wrapped ReaderAt that updates the progress bar.
Click to show internal directories.
Click to hide internal directories.