RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
FileDropTarget
import wx class MyFileDropTarget(wx.FileDropTarget): """""" def __init__(self, window): """Constructor""" wx.FileDropTarget.__init__(self) self.window = window def OnDropFiles(self, x, y, f...
TextDropTarget
import wx class MyTextDropTarget(wx.TextDropTarget): def __init__(self, textctrl): wx.TextDropTarget.__init__(self) self.textctrl = textctrl def OnDropText(self, x, y, text): self.textctrl.WriteText("(%d, %d)\n%s\n" % (x, y, text)) ret...
PyDropTarget
import wx class MyURLDropTarget(wx.PyDropTarget): def __init__(self, window): wx.PyDropTarget.__init__(self) self.window = window self.data = wx.URLDataObject(); self.SetDataObject(self.data) def OnDragOver(self, x, y, d): return wx....
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website