python - Python Tkinter“exportselection”在 Windows 机器上不起作用
问题描述
tkinter 文本框功能,exportselection=False
不适用于 Win10 机器。
我有 2 个文本框,我需要同时突出显示它们。我刚刚发现exportselection=False
并且可以在我的 Linux 机器上运行。
到目前为止,我尝试了 3 台 Linux 机器,2 台 Win10 机器,它似乎只适用于 Linux。
textBox = Text(midFrame, height=textArea_height, width=textArea_width, exportselection=False)
为什么win10不能用?
解决方案
推荐阅读
- laravel - laravel 中的慢查询
- python-3.x - 自适应阈值如何计算像素的阈值?
- java - Spring MVC 安全性:创建名为“springSecurityFilterChain”的 bean 时出错
- json - vertx 类转换异常
- java - Ajax 调用失败 - NetworkError: 无法在“XMLHttpRequest”上执行“发送”
- java - 应用程序在 Android Studio 中停止,但它可以编译
- kubernetes - Kong Ingress Controller 对 Kong Plugins 没有影响
- amp-html - 向 iFrame 添加标题的灯塔要求不适用于 amp-vimeo
- bash - 重置 .bash_profile,但忘记添加导出然后找不到 .bash_profile。现在找不到基本命令。怎么修?
- vuejs2 - 在标题单击 Vuetify2(v-data-table 组件)上显示/隐藏分组行