Re: Re: Strange interaction between Gtk2::Dialog and signal from Goo::Canvas

Am Montag, den 20.07.2009, 11:25 +0000 schrieb
jeffrey ratcliffe 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?


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


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