in reply to Tk::Clipboard and the X Windows Clipboard
WARNING: I've never used Tk from Perl before.
FWIW, I just experimented a bit with it, and I get the error you're talking about in xclipboard. But then I tried:
my $mw = MainWindow->new(); $mw->clipboardClear(); $mw->clipboardAppend('clip'); my $selected = $mw->SelectionGet(); MainLoop;
i.e., I followed it with SelectionGet() and MainLoop, and it printed 'clip' into the xclipboard window.
.... erm, but now I'm getting an error:
PRIMARY selection doesn't exist or form "STRING" not defined at ./tk.p +l line 9
Man, that's really flakey.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(bbfu) (other error) Re2: Tk::Clipboard and the X Windows Clipboard
by bbfu (Curate) on Oct 30, 2001 at 02:33 UTC |