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

Re: Why is gtk_widget_get_clipboard() disabled?



Quoting muppet <scott asofyet org>:
<snip>
> [1] i'm not sure of the right way around this problem, other than a FAQ
> answer saying use ->get instead of ->new.
</snip>

maybe we sould do this?

package Gtk2::Clipboard;

sub new {
	my $class = shift;
	carp "WARNING: $class->new is not a vaild function, use $class->get";
	return $class->get(@_);
}



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