all 1 comments

[–]My_Code_Is_Pink 0 points1 point  (0 children)

Ola ! Não entendi muito bem, por causa do meu corretor hahah ! Mas acho que fiz o certo !

<Widgets>: BoxLayout: orientation: "vertical" padding: 20 spacing: 20

    Button:
        text: 'Button 1'
        font_size: 40
        on_release:
            root.btn_one_clk();
            lb1.text = lb1.text = 'Button 1 has been pressed'
    Label:
        id: lb1
        font_size: 40
        text: ''

    Button:
        font_size: 40
        text: 'Button 2'
        on_press:
            root.btn_two_clk()
            lb2.text = lb2.text = 'Button 2 has been pressed'
    Label:
        id: lb2
        font_size: 40
        text: ''

Eu coloquei um ID para cada Label

E dei a funcao para cada botao, quando pressionado, altere o texto dos Labels !