clutter: python3 button press event
- From: "Patrick Shirkey" <pshirkey boosthardware com>
- To: clutter-list gnome org
- Subject: clutter: python3 button press event
- Date: Mon, 22 Oct 2012 18:05:05 +1100 (EST)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]