On 2011-09-16 at 23:22, eexpress wrote:
> hi,
> I want store sth into clipboard after perl script exit, but does not know
> how to write $clip->store(...) function.
the ->store method doesn't magically "store" stuff into the ether:
you'll need a daemon that takes ownership of the clipboard data wh
hi,
I want store sth into clipboard after perl script exit, but does not know
how to write $clip->store(...) function.
"... (list) of Gtk2::TargetEntry's" here but how can i set those
targetentry.
now i use `echo $out|xsel -i` instead of it.
use Gtk2 "-init";
$clip
On Wed, 2005-04-27 at 16:04 +0200, Jens Luedicke wrote:
> my $clipboard =
> Gtk2::Clipboard->get_for_display(Gtk2::Gdk::Display->open($ENV{'DISPLAY'}),
> Gtk2::Gdk::Atom->new('GDK_SELECTION_CLIPBOARD'));
I think this is where your problem is. The atom
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hiya...
I wan't to store a string in a Gtk2::Clipboard, so
that I can paste it somewhere else (like in an file manager or editor).
My code doesn't work as expected and the clipboard remains untouched:
my $clipboard =
Gtk2: