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

2009-07-20 Thread jeffrey . ratcliffe

On Jul 20, 2009 2:15pm, Mario Kemper  wrote:

> 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?


Yup. With the ungrab call, your code only emits a signal for the text "0" -  
clicks on the other text is ignored. If I put the text in groups, then it  
works as expected.


Regards

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


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

2009-07-20 Thread Mario Kemper
Am Montag, den 20.07.2009, 12:20 + schrieb
jeffrey.ratcli...@gmail.com:
> 
> Yup. With the ungrab call, your code only emits a signal for the text
> "0" - clicks on the other text is ignored. If I put the text in
> groups, then it works as expected.
> 

I was using 0.05 of the bindings, but I after upgrading to 0.06 it is
still working for me. 
I am sorry, but currently I don't know where the differences between our
system / configurations might be here.

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


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

2009-07-20 Thread jeffrey . ratcliffe

On Jul 20, 2009 2:40pm, Mario Kemper  wrote:

> Yup. With the ungrab call, your code only emits a signal for the text
> "0" - clicks on the other text is ignored. If I put the text in
> groups, then it works as expected.


No apologies. Yours also works as expected.

If I remove height => $y2-$y1 from the Goo::Canvas::Text->new() call in  
mine, mine does too, or as I said before, if I put it in a group.


Strange. I'll try and find some time to rewrite the examples in C
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list