Re: clutter: python3 button press event
- From: Lionel Landwerlin <llandwerlin gmail com>
- To: clutter-list gnome org
- Subject: Re: clutter: python3 button press event
- Date: Mon, 22 Oct 2012 08:57:09 +0100
You might want to make sure that roundrect is reactive.
roundrect.set_reactive(True)
Regards,
-Lionel
On 22/10/12 08:05, Patrick Shirkey wrote:
Hi,
If I use :
stage.connect("button-press-event", on_click)
The button press event is received.
However, I would like to use something like the following :
roundrect = RoundRectangle()
stage.add_actor(roundrect)
roundrect.connect("button-press-event", on_click)
Attaching the "button press event" to a clutter "actor" works fine in
python2 but it seems there is something different in python3 that I am
missing?
--
Patrick Shirkey
Boost Hardware Ltd
_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]