有关Pysimplegui TK版本中所需功能的查询
我已经使用图形元素构建了一个面向图形的软件包。我需要根据图元坐标进行键盘输入。目前,我正在使用键盘中的事件使用draw_text将字符放在图形元素上。它起作用,但有点慢,我会遇到问题,可以解释我从不同平台中获得的密钥代码,而我将回声重新回到图形元素的开销无济于事。
我的问题。在Pysimplegui(TK)中,是否可以直接在图坐标上使用TK条目函数?
I have built a graphic oriented package using the Graph element. I need to do keyboard input based on Graph Element coordinates. Currently I am using the events that come in from the keyboard to place characters on the Graph element using draw_text. It works but is a bit slow and I get into problems with interpreting the key codes I get back from different platforms and the overhead with me doing the echoing back on to the Graph element does not help.
My Question. In PySimpleGui(Tk) is there a way to use the Tk Entry function directly on Graph Coordinates?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IMO,可以像您的要求一样完成,但要复杂得多。
这里只是一种在图元素上输入文本的简单方法。
在这里,类似于您的请求,但需要复杂且需要进行TKINTER代码。
IMO, it can be done like your request, but much complex.
Here only a simple way to enter text on a Graph element.
Here, something like your request, but much complex and tkinter code required.