filmov
tv
Python Kivy Tutorial 3 -Working with buttons in Kivy

Показать описание
Welcome to the this video on Python Kivy Tutorial. In this video we will see setting Button Properties in kivy. we will see
-Button Properties
-Position of the Button
-Size of the Button . For Positon of the Button we use, “ pos = (value,value) in the method”
For Size of the Button we use, “size_hint = (value,value) in the method”
Button Properties 🡪 Position of the Button , Size of the Button
For Positon of the Button we use, “ pos = (value,value) in the method”
For Size of the Button we use, “size_hint = (value,value) in the method”
class ButtonApp(App):
def build(self):
btn = Button(text="Push Me",size_hint=(.2,.2),pos=(300,250))
return btn
if __name__ == '__main__':
ButtonApp().run()
At the end of this course, you will have a firm grasp of techniques using kivy libraries.
Feel the real power of Python and programming! The course offers you a unique approach of learning how to code by solving real world problems.
#ProgrammingKnowledge #python #Kivy
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
-Button Properties
-Position of the Button
-Size of the Button . For Positon of the Button we use, “ pos = (value,value) in the method”
For Size of the Button we use, “size_hint = (value,value) in the method”
Button Properties 🡪 Position of the Button , Size of the Button
For Positon of the Button we use, “ pos = (value,value) in the method”
For Size of the Button we use, “size_hint = (value,value) in the method”
class ButtonApp(App):
def build(self):
btn = Button(text="Push Me",size_hint=(.2,.2),pos=(300,250))
return btn
if __name__ == '__main__':
ButtonApp().run()
At the end of this course, you will have a firm grasp of techniques using kivy libraries.
Feel the real power of Python and programming! The course offers you a unique approach of learning how to code by solving real world problems.
#ProgrammingKnowledge #python #Kivy
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Комментарии