Skip to content

ShowProgress Class

Construct a showprogress widget with the parent MASTER.

Parameters

NameTypeDescription
mastertkinter.Tk
titlestr
labelstr
valuefloat
maxfloat
completecommandCallable

Methods

config

Update the progressbar

Parameters

NameTypeDescription
mastertkinter.Tk
labelstr
valuefloat
maxfloat

step

Increments the value option by amount.

Parameters

NameTypeDescription
amountfloat

get

Returns the currrent value

Example

py
import tkinter

root = tkinter.Tk()
def callback():
    tkinterplus.ShowProgress(root, title='Title', label='Message', value=100, max=100)

tkinter.Button(root, text='Open Modal', command=callback).pack()
root.mainloop()

example-showprogress

Not associated with or approved by Mojang Studios or Microsoft