Great, @ccc - that cleared things up!
I was able to set the text of a label inside another subview of the navigation view now.
However, I still don't see how I could access the navigation view itself when a button inside the the subview is pressed. NavView.push_view(root)
and NavView.v.push_view(root)
didn't work. Knowing how to access the navigation view from within a subview could come in handy if I'd like to close the current subview as soon as a button is pressed or if i want to load yet another subview when the button is pressed.
Updated Gist: https://gist.github.com/nitricware/468b31a1b5363c4474e1
Lines 10 and 42 show my new issues...
@Phuket2 I'd like to! Did I miss some kind of introduction to Pythonista UI creation? Or are you supposed to know how those kind of things work (Installed Pythonista less than a week ago.)?