字體顏色參數為fg,. 字體背景顏色參數為bg,. 寫法如下: tk.Label(root, text='Hello tkinter!!', bg = 'black', fg = 'white').grid(). 完整範例如下: ...
確定! 回上一頁