Fyne API "dialog.ProgressInfiniteDialog"
dialog.ProgressInfiniteDialog
import "fyne.io/fyne/v2/dialog"
Usage
type ProgressInfiniteDialog
type ProgressInfiniteDialog struct {
}
ProgressInfiniteDialog is a simple dialog window that displays text and a infinite progress bar.
Deprecated: Use NewCustomWithoutButtons() and add a widget.ProgressBarInfinite() inside.
func NewProgressInfinite
func NewProgressInfinite(title, message string, parent fyne.Window) *ProgressInfiniteDialog
NewProgressInfinite creates a infinite progress dialog and returns the handle. Using the returned type you should call Show().
Deprecated: Use NewCustomWithoutButtons() and add a widget.ProgressBarInfinite() inside.
func (ProgressInfiniteDialog) Dismiss
func (d ProgressInfiniteDialog) Dismiss()
func (*ProgressInfiniteDialog) Hide
func (d *ProgressInfiniteDialog) Hide()
Hide this dialog and stop the infinite progress goroutine
func (ProgressInfiniteDialog) MinSize
func (d ProgressInfiniteDialog) MinSize() fyne.Size
MinSize returns the size that this dialog should not shrink below.
Since:
2.1
func (ProgressInfiniteDialog) Refresh
func (d ProgressInfiniteDialog) Refresh()
func (ProgressInfiniteDialog) Resize
func (d ProgressInfiniteDialog) Resize(size fyne.Size)
Resize dialog, call this function after dialog show
func (ProgressInfiniteDialog) SetDismissText
func (d ProgressInfiniteDialog) SetDismissText(label string)
SetDismissText allows custom text to be set in the dismiss button This is a no-op for dialogs without dismiss buttons.
func (ProgressInfiniteDialog) SetOnClosed
func (d ProgressInfiniteDialog) SetOnClosed(closed func())
SetOnClosed allows to set a callback function that is called when the dialog is closed
func (ProgressInfiniteDialog) Show
func (d ProgressInfiniteDialog) Show()