I've made a program that copies the text from a text control to the
clipboard:
def copiar_cmd(padre):
clipboard = wxClipboard()
if not clipboard.Open():
d = wxMessageDialog(self, "Error al trabajar con el
Portapapeles", "Error", wxOK)
d.ShowModal() # Shows it
d.Destroy() # finally destroy it when finished.
texto = panel.zonacmd.GetValue()
textoclip = wxPyTextDataObject(texto)
clipboard.SetData(textoclip)
clipboard.UsePrimarySelection(1)
clipboard.Close()
return
In windows it works allright.
In linux, wrapping gtk, works allright.
Then I go to a Solaris 6, make a rlogin to the linux machine (the same
machine as before), setenv DISPLAY (...), and execute my application from
the linux machine, looking it in my Solaris machine.
And the clipboard doesn´t get copied at all.
Any ideas?
Thank you very much.
. Facundo