bushibu 发表于 2015-08-19 22:47

求高手!!如何让wx.TextCtrl支持拖拽输入?



代码:
class MainWindow(wx.Frame):
    def __init__(self, parent, title):
      self.dirname=''

      # A "-1" in the size parameter instructs wxWidgets to use the default size.
      # In this case, we select 200px width and the default height.
      wx.Frame.__init__(self, parent, title=title, size=(200,-1))
      self.control = wx.TextCtrl(self, style=wx.TE_MULTILINE)
。。。。。。。。

如何能让wx.TextCtrl支持拖拽输入的字符呢?多谢高手赐教!!

substr函数 发表于 2015-08-20 15:05


wxPython: Introduction to Drag and Drop

https://dzone.com/articles/migrating-a-spring-web-mvc-application-from-jsp-to

bushibu 发表于 2015-08-20 21:53

好的,我先看看学习一下。多谢
页: [1]
查看完整版本: 求高手!!如何让wx.TextCtrl支持拖拽输入?