버튼 disable (1) 썸네일형 리스트형 파이썬 버튼 disable 시키기 import tkinter as tk from tkinter import ttk win = tk.Tk() win.title("python gui") def click_me(): action.configure(text ="hello "+ name.get()) ttk.Label(win, text ="Enter a name :").grid(column =0, row =0) name = tk.StringVar() name_entered = ttk.Entry(win, width =12, textvariable= name) name_entered.grid(column =0, row =1) action = ttk.Button(win, text = "Click me!", command = click_me) action.. 이전 1 다음