You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
My button on pressed not working
I'm new in kivy and in the code when press the button it's does nothing. I have defined the on pressed function.
I'm using pydroid 3 on Android
Code is below
#7
Open
JohnnyAidoo opened this issue
Jun 20, 2022
· 1 comment
import kivy
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.label import Label
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.textinput import TextInput
class my_layout(BoxLayout):
def init (self, **kwargs):
super(). init (**kwargs)
self.rows=2
import kivy
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.label import Label
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.textinput import TextInput
class my_layout(BoxLayout):
def init (self, **kwargs):
super(). init (**kwargs)
self.rows=2
class myApp(App):
def build(self):
return my_layout()
if True:
myApp().run()
The text was updated successfully, but these errors were encountered: