[Python] what does wait visibility method mean in python?

Discussão em 'Python' iniciado por Stack, Setembro 29, 2024.

  1. Stack

    Stack Membro Participativo

    I would like to know what this method means: root.wait_visibility(root), In the tikinter app. The intention is to change the visibility of the window. I recently switched from windos to linux and I'm having difficulties in the differences between operating systems, because in windows this same function is different. code:

    import tkinter as tk

    root=tk.Tk()

    root.geometry("600x400+400+200")

    root.title('My GUI Application')

    **root.wait_visibility(root)**

    root.wm_attributes('-alpha',0.50)

    Continue reading...

Compartilhe esta Página