Kivy KV File Tutorial - Kivy Tutorial #9

preview_player
Показать описание
In this Kivy KV File Tutorial, I show you how to use the kivy language, as well as kivy object properties. This kivy language tutorial shows you what the kivy kv language is, how to use kv files and how to fix kivy kv file not working.

If you found this tutorial helpful, a like would be appreciated! Also, be sure to subscribe if you want to see more easy to follow python tutorials!

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

Been watching this tutorial for 3-4 days and I've made tonnes of progress all thanks to you... great job!

gmzone
Автор

Really helpful! I was struggling with other tutorials until I found this series and it has helped me understand kivy a lot.

linxdprinting
Автор

Hey Shaw, your work is very useful. Thank you!

philipantonycardososilveir
Автор

Very nice bro I'm learning python and your videos are very helpful

NikhilBhatta
Автор

Thanks a lot for bringing light. Keep it up

JL-nbep
Автор

Hey, Ive been trying to run my My.kv file on VS Code and it says that I don't have a debugging extension installed to run the kv file so Im unable to run it. Any fixes for that? I can't find an extension to debug it.

chiragjain
Автор

Hey Caleb. I have an error in the previous video of these series which I can't figure out how to fix. Comments are turned off, at least that's what it says to me. Here is the error and the code:

Errors:
Instance of 'FirstPage' has no 'bind' member [9, 9]
Instance of 'SecondPage' has no 'bind' member [19, 9]
#the word 'self' is underlined in the lines where it is used with '.bind' (self.bind)

#Code:
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.screenmanager import ScreenManager, Screen, SlideTransition

class FirstPage(Button):
def __init__(self):
super().__init__()
self.text = 'hi'


def switch(self, item):
=
myapp.screen_manager.current = 'Second'

class SecondPage(Button):
def __init__(self):
super().__init__()
self.text = 'hi there'


def switch (self, item):
=
myapp.screen_manager.current = 'First'

class MyApp(App):
def build(self):
self.screen_manager = ScreenManager()

self.firstpage = FirstPage()
screen = Screen(name='First')



self.secondpage = SecondPage()
screen = Screen(name='Second')



return self.screen_manager


myapp = MyApp()
myapp.run()

nektarioslivelounge
Автор

Hey so I've been using VSCode and Im tryna import ObjectProperties but its giving me an error for some reason

gmzone
Автор

@ShawCode Your videos are awesome bro keep it up, please use kv plugin in sublime text for code decoration it clears viewers,
what is going on.

kulothunganug
Автор

I just commented to get heart
Also when the ‘adding the app to your mobile’ video coming out🙃

noel
Автор

That's great! I got this example working, where did you learn this from & what's your reference for kivy?

SusanAmberBruce
Автор

sorry, but the "Hello" doesn't show up,
can you help me ???

ahmed-osama
Автор

this guy tricked how dare you trick the mighty programmer

sarahpuri