Do you want the opacity to flip between 0 and 1 every time on_enter is fired?
def on_enter(self, *args):
#self.canvas_opacity = NumericProperty(0)
self.canvas_opacity = 1 if self.canvas_opacity == 0 else 0
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/f8535570-3b23-4223-9ba8-e7cce5459b3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
Are you still having an issue?
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/c69aae8c-6026-4507-9347-ea161110d8e0%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/a20cd2b4-fb7c-4c14-ae11-183ba5ad55f5%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/a20cd2b4-fb7c-4c14-ae11-183ba5ad55f5%40googlegroups.com.
Can you take a different approach?
The canvas is not a widget, it is a set of drawing instructions. The layers, canvas.before, canvas, and .after provide control over drawing order.
Can you put the statistics on a different screen and when the user leaves, transition to a blank screen?
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/e22d56b2-89e7-4be3-a5b3-2ecc68409374%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/e22d56b2-89e7-4be3-a5b3-2ecc68409374%40googlegroups.com.