Home > Back-end >  Kivy, make sometihing happen 1 sec after i press a button
Kivy, make sometihing happen 1 sec after i press a button

Time:02-26

I have tried for many hours, reading the wiki and experimenting in different ways but I have not been able to do it, can someone please explain to me explicitly (showing me) how to do this without only linking me to the wiki. Below you will find my code copied, where you read on_release: under the button with its id "settings", I want it to actually happen not on release but 1 sec after I have pressed the button.

.py file:

import kivy
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.config import Config
from kivy.core.window import Window
from kivy.uix.boxlayout import BoxLayout

#title
#self.title('Past Paper Question Search            
  • Related