Re: Clipboard access....



Hello everyone,

After reading the Gtk2::Clipboard documentation and a few C programs
that use clipboards in Gtk2, i figured that to get a clipboard all i
need to do is this:

my $clipboard = Gtk2::Clipboard->get(Gtk2::Gdk::SELECTION_CLIPBOARD);

but when the program runs and passes in the above line i get the
following error:

Usage: SELECTION_CLIPBOARD(class) at test.pl line 76.

any ideas??
Thank you.


On Mon, 2003-09-22 at 18:52, Ari Pollak wrote:
You're probably looking for the Gtk2::Clipboard object:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Clipboards.html

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]