Python——Entry、Text控件
生活随笔
收集整理的這篇文章主要介紹了
Python——Entry、Text控件
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
????background(bg) ?: 文本框背景色;
????foreground(fg) ? ?: ? ?前景色;
????selectbackground : ?選定文本背景色;
????selectforeground : ?選定文本前景色;
????borderwidth(bd) ? ?: 文本框邊框?qū)挾?#xff1b;
????font ? ? ?: ? ? ? ? ? 字體;
????show ? ?: ? ? ? ???文本框顯示的字符,若為*,表示文本框為密碼框;
????state ? ? : ? ? ? 狀態(tài);
????width ? ?: ? ? ?文本框?qū)挾?/p>
????textvariable ? : ?可變文本,與StringVar等配合著用
轉載于:https://www.cnblogs.com/cxys85/p/10193736.html
總結
以上是生活随笔為你收集整理的Python——Entry、Text控件的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SQL 利用merge 同步数据库之间表
- 下一篇: 洱海绕一圈要多长时间