Пример #1
0
 def test_genericdragimag6(self):
     ctrl = wx.ListCtrl(self.frame, style=wx.LC_REPORT)
     ctrl.AppendColumn('hello')
     idx = ctrl.InsertItem(0, "a list item")
     di = wx.GenericDragImage(ctrl, idx)
Пример #2
0
 def test_genericdragimag5(self):
     ctrl = wx.TreeCtrl(self.frame)
     root = ctrl.AddRoot('root item')
     di = wx.GenericDragImage(ctrl, root)
Пример #3
0
 def test_genericdragimag4(self):
     di = wx.GenericDragImage("Some draggable text")
Пример #4
0
 def test_genericdragimag3(self):
     di = wx.GenericDragImage(wx.Icon(icoFile))
Пример #5
0
 def test_genericdragimag2(self):
     di = wx.GenericDragImage(wx.Bitmap(pngFile))
Пример #6
0
 def test_genericdragimag1(self):
     di = wx.GenericDragImage()