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

Re: Clipboard access....



Bruno Tavares said:
> 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.

give it what it wants:

Gtk2::Gdk->SELECTION_CLIPBOARD

instead of

Gtk2::Gdk::SELECTION_CLIPBOARD



-- 
muppet <scott at asofyet dot org>



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