Answers for "textbox in kivy"

1

textbox in kivy

def on_text(instance, value):
    print('The widget', instance, 'have:', value)

textinput = TextInput()
textinput.bind(text=on_text)
Posted by: Guest on October-05-2020
1

kivy password mask

from kivy.base import runTouchApp
from kivy.lang import Builder

KV = ''' 
BoxLayout:
    CheckBox:
        id: cb
    TextInput:
        password: True
        multiline: cb.active
'''

runTouchApp(Builder.load_string(KV))
Posted by: Guest on August-28-2020

Browse Popular Code Answers by Language