method one:
wx.TheClipboard.Open():
wx.TheClipboard.Clear()
obj = wx.TextDataObject("/home/myhome/file")
wx.TheClipboard.SetData(obj)
wx.TheClipboard.Close()
method two:
wx.TheClipboard.Open():
wx.TheClipboard.Clear()
self.temp = wx.FileDataObject()
self.temp.AddFile("/home/myhome/file")
wx.TheClipboard.SetData(self.temp)
wx.TheClipboard.Close()
method one just copy the file address, i can paste it on a text editor
but i can't in the filemanager
method two does nothing, i can't paste anything in the texteditor nor
in the filemanager (although rightclicking on a "terminal" i can see
"paste filenames" but not "paste", anyway still does not paste
anything)
any ideas? (i'm using nautilus on gnome)
thanks