API Documentation

Window

class Window(
    name : str = "Title of the window",
    text : str = "Hello, world!",
    width : int = 40, 
    fields : list = None,
    buttons : list = [{"text":"OK", "type": "button"}, {"text":"Cancel", "type": "button"}],
    inputvalues: dict = {}
    tabindex : int = 0,
)

💡 Usage :

win = Window(name="A window",text="Hello!") # Some config
win.mainloop() # Start the loop