On 5/3/06, Michael <[EMAIL PROTECTED]> wrote:
Hello,
Anyone have trouble copying things to the clipboard using PerlTK's
->clipboardAppend...? When I use it to put things in the clipboard, I
cannot paste the contents into other OSX apps like Textedit. The
"Paste" option is available in the application, however no data appears
when one pastes.
Correct. Quartz and X11 have different (actually, at least 3)
clipboard systems that aren't shared. You can get around this by using
"copy" in the X11.app munbar at the top of the screen. but in order to
manage this clipboards entirely from within X11 (TK), you're going to
need help. See the xcutsel application that's part of the standard X11
build, or autocutsel from Fink. Alternatively, you can use XDarwin
instead of the Apple X11 port. Recent versions of XDarwin synchronize
the clipboards...most of the time. Note that Quartz does a good job of
reading the X11 clipboard. Items cut in X11 should be available to
Quartz apps. It's just doesn't work the other way around.
HTH,
-- jay
--------------------------------------------------
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential
daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.dpguru.com http://www.engatiki.org
values of β will give rise to dom!