看板 [ Python ]
討論串[問題] 請問有人可以幫我看一下Tkinter嗎???謝謝!!
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 20→)留言22則,0人參與, 最新作者aeronan (aeron)時間10年前 (2014/05/02 13:17), 編輯資訊
0
0
1
內容預覽:
我這寫出來,不管按哪一個button只會顯示橘色,有辦法讓它顯示相對應的顏色嗎??. from Tkinter import *. the_window = Tk(). the_window.title('ONE Button Colour'). start_color = 'grey'. labe
(還有797個字)

推噓2(2推 0噓 4→)留言6則,0人參與, 最新作者Pomay (右腳)時間10年前 (2014/05/05 18:06), 編輯資訊
0
0
1
內容預覽:
來獻醜一下,雖然可能不算太正規的做法. 以下是按Button會修改同一row的label背景顏色. 修改了button的command用的function. from Tkinter import *. the_window = Tk(). the_window.title('ONE Button
(還有655個字)
首頁
上一頁
1
下一頁
尾頁