Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Gtk3::Clipboard problem

by brilant_blue (Beadle)
on Sep 02, 2014 at 03:47 UTC ( [id://1099218]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Gtk3::Clipboard problem
in thread Gtk3::Clipboard problem [SOLVED]

my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('', 0)); --> nothing happens

my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('primary', 0)); --> nothing happens

my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('PRIMARY', 0)); --> nothing happens

my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('clipboard', 0)); --> nothing happens

my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('CLIPBOARD', 0)); --> WORKS!

HEY, IT WORKS! :-D

It must be in uppercase!

Thank you for help!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1099218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found