Skip to content

Instantly share code, notes, and snippets.

View wishrohitv's full-sized avatar
🎯
Focusing

Rohit Vishwakarma wishrohitv

🎯
Focusing
View GitHub Profile
# firstbox.py
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout
from kivy.properties import StringProperty
kv = """
<FirstBox>:
Button:
text: 'First box: send message to second box'
on_release: root.dispatch('on_release')
@wishrohitv
wishrohitv / code.py
Created December 8, 2023 15:53
kivy clock implementation
class Quiz_Game(Screen):
def on_enter(self, *args):
# user's option selection choice
self.users_selected_opt = []
# game increment questions
self.number_of_question_list = []
# currently unused
self.answers = []
@wishrohitv
wishrohitv / main.py
Last active January 9, 2024 11:50
minimal kivy and python code to use multiple widget using for loop via ScrollView
from kivy.app import App
from kivy.lang.builder import Builder
from kivy.uix.button import Button
from kivy.uix.boxlayout import BoxLayout
from kivy.properties import StringProperty
kv = """
<CWidget>:
text: root.name
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wishrohitv
wishrohitv / kivyapp-to-apk.ipynb
Last active May 10, 2023 14:53 — forked from kaustubhgupta/kivyapp-to-apk.ipynb
KivyApp to APK.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.