Re: pointer ungrab
- From: Guillaume Cottenceau <gc mandrakesoft com>
- To: Sergio Rua <srua esware com>
- Cc: gtk-perl-list gnome org
- Subject: Re: pointer ungrab
- Date: 18 Oct 2002 18:05:13 +0200
Sergio Rua <srua esware com> writes:
Hello,
I'm trying to use this function that is a port from C but I
allways get an error:
sub button_released
{
my ($widget,$event)= _;
Gtk::Gdk->pointer_ungrab($widget,GDK_CURRENT_TIME);
Gtk::Gdk->flush();
$moveable=0;
$widget->grab_remove();
Gtk::Gdk->pointer_ungrab($widget,0);
return 1;
}
And the error message:
Usage: Gtk::Gdk::pointer_ungrab(Class, time=GDK_CURRENT_TIME)
What gives "$widget->pointer_ungrab()" ?
--
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]