버튼,button

Difference between r1.5 and the current

@@ -13,7 +13,7 @@
Windows인 경우 [[컨트롤,control]
----
<<tableofcontents>>
= Tk의 버튼 =
= Tkinter의 버튼 =
이런 식.
{{{
bt = Button(win) # 버튼 생성
@@ -26,7 +26,7 @@
}}}


[[티케이,Tk]]
[[티케이인터,Tkinter]]
= autogeninterwikis =
WtEn:button



버튼/button

클릭,click의 대상.
누름의 대상.

mkl
GUI
이벤트,event
or action
widget
Windows인 경우 [[컨트롤,control]


1. Tkinter의 버튼

이런 식.
bt = Button(win) # 버튼 생성
bt.config(width=30,height=20) # 버튼 크기 설정
bt.config(text='버튼') # caption
bt.config(command=alert)
def alert():
 print("button is pressed")
bt.pack() # 버튼 배치


3. wikiadmin

2024-01-24 Page name via 내생각