Am Montag, den 20.07.2009, 11:25 +0000 schrieb
jeffrey.ratcli...@gmail.com:
> 
> Is it not a bug that Goo::Canvas::Text grabs the pointer?
> 

Might be, yes. 
I've added a 'button-release-event'-handler in my code and did the
ungrab while doing some other stuff:

$canvas->pointer_ungrab( $item, $ev->time );

This was the reason why I did not notice any problems here...

> In both your and my examples, I can only get the first
> Goo::Canvas::Text created to emit a pressed signal.

Really? Did you add the 'pointer_ungrab' call to your code?

--------snip-------------

$dialog->destroy;
        
#ungrab the pointer
$canvas->pointer_ungrab( $widget, $ev->time );

--------snip-------------


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

Reply via email to