简体   繁体   中英

Python - Text widget from tkinter in ttk

I noticed that the Text widget from tkinter is not present in the ttk widgets. I'm using the ttk instead of tkinter because its interface suits better. And I need Text widget because it has multiple lines unlikely the Entry widget. Does anyone have a solution for my problem?

The solution is to use the tkinter text widget. tkinter and ttk are designed to work together.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM