Re: Clipboard access....
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: Clipboard access....
- Date: Fri, 26 Sep 2003 12:17:49 -0400 (EDT)
Bruno Tavares said:
well, after compiling rc3 the clipboard errors disappeared.
The problem is, i use $clipboard->set_text("some_text") and nothing
happens to clipboard.
Im setting text for SELECTION_PRIMARY and SELECTION_CLIPBOARD as
suggested in the C documentation.
um... you may simply be doing something wrong somewhere else. this stuff is
on line 29 of t/27.GtkClipboard.t  i call $clipboard->set_text
($expected);, and on line 31 i call $clipboard->wait_for_text and retrieve
exactly the same thing that i set. so, it works for me. while testing i even
saw the primary selection in my vim window go from solid gray to underlined
black, meaning some other app (my test) claimed the primary selection.
try calling set_text on SELECTION_PRIMARY and then just sitting in a main
loop, then in another app altogether attempt to paste something. i'm not in a
place where i can test that at the moment.
muppet <scott at asofyet dot org>
] [Thread Prev