techteej
Jun 29, 2014 - 19:34
I'm just starting to use the ui module. How would I connect a button to a textfield to save the text to a variable? This is what I have so far.
# coding: utf-8
import ui
v = ui.load_view('Untitled 2')
textfield = v['textfield1']
button1 = v['button1']
v.present('sheet')