there are very few tutorials on kivy, so thanks for this one. when you have time, please do more, especially since it's been 3 years now and kivy has evolved. It even has Material Design Widgets.
Hi Derek, thanks for the widgets you have covered so far. Please can you make a video on how to make a carousel of pictures sliding and add it as a widget(while overwriting another widget), you could also cover how to make a sidebar and how to make a pageloader using animations
Could you please make a tutorial explaining how to use ToggleButtons properly? Let say if Toggle button1 is pressed 'down', then when the users press the "Search button" the value of toggle button and text input get past along?
Love the videos. Minor comment about your narrative in the check-box section. You say on_active is when the checkbox is active, when you really mean when the active state changes. Pedantic, but I'm a kivy noob and want to make sure I know the distinction.
Hi Derek. Thanks for tutorials. I have a question. I'm learning kivy and Django but I'm not sure about which is better. PyQt or kivy. What do you think? What should I learn? Thanks in advance.
It is never necessary to code "is True" inside an if statement since the if statement already tests if the expression is True or False. For example, if value is True: should be written: if value:. That way value doesn't have to be evaluated twice. Compiler optimization notwithstanding, of course.
Derek, I followed and understand how to do popups but how can I add a popup to one of my screens inside the screenmanager using inline kivy file using 'Builder' as you explained??? If any one knows, please reply/. Thanks ... Tim
Hi, cool stuff! I'm looking everywhere for more info on spinners in Kivy. The basics are clear now, also thanks to your video. One question remains; how can I pass the list with values (options) from my python file (based on a change number of options read from a csv file in a list) to the kv file ?? I hope you can help me out!
In my case, i put widgets in my screen and before all transitions it is showing me the background, i don't want this, how can i prevent that. Thanks for your videos
Thank you for the video, I learned a lot, and this knowledge spawned questions? How would you go about changing the actual color of the check box? It's grey and kind of hard to see on the white background? In the popup example, how would you code it, so the text: would be able to output the spinner value, instead of 'Close'? I tried the following but got an error... CustomLabel: text: str(spinner_id.value)
To answer my own first question; using color: CheckBox: # the color of the checkbox (red) color: 1,0,0,1 It is still hard to see, so now I'm wondering how to make, the checkbox larger and its borders wider?
Hey man,The videos are great! Had a question. Is there a way Kivy can open and operate more than 1 window? Say have 2 windows open that are used to track data and record data? Thanks man
How to pass the values from one screen to another ex:scr1 has a text input with my name and when I click the submit button it has to move to the next screen and print the previous screen input my name
i HAVE a quick question what is your tips on how to learn python and what are the best youtubers you know out their. please answer becuse all the teachers think i can never achieve being a software developr
If you go through my Learn to Program series and do the exercises that should help a lot ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nwjAHQERL08.html There are tons of tutorial people. Try them all out. You can do anything if you dedicate yourself to studying it for an hour a day every day.
Hello. Nice explanation, and thanks! sorted out many things. How do you prevent screen timeout on a mobile phone for a simple GUI app, launched on an android smartphone through Kivy Launcher? the allow_screensaver option on the config.ini file, does not help. any ideas?
Great tutorials!!! Quick question, do you plan on covering any Universal Windows Platform (UWP) tutorials with XAML and C#? Just thought I'd see :) No problem if not, I know your list is full and a busy guy!
I want to know if i can use Kivy to get the coordinates directly from the trackpad itself not just that of the cursor. Any ideas how to do that? Great tutorial BTW. Extremely helpful.
Also, theres no need to create an instance of SampleApp() just to run it. Instead of sample-app = SampleApp(); sample_app.run(), You could simply write SampleApp().run().
6 лет назад
is there any GUI generator with Kivy support that you would advise me with? thank you
Hi Derek, I was playing around with the slider trying to capture it's value at any given position, I was wondering if you could comment on the code I came up with. Py file: slide_val = NumericProperty() def slider_val(self, instance, value): print (value) Kv file: Slider: id: slider_id min: -100 max: 100 value: root.slide_val step: 1 value_track_width: root.slider_val(self, self.value) This code worked. I am just wondering if this is the correct way, or will I run into problems later using this code?
Derek, I request Tizen Studio/OS tutorial with some apps that we can use for Smart Tv's for example :p. What you think, it's popular/worth it enough to make a tutorial ? Maybe with Samsung Studio for Tizen also ?
I'll see what I can do when I continue the Kivy tutorial. It only works on MacOS and Linux at the time. That is why I avoided it. Windows users can easily install Ubuntu though to try it.
@@derekbanas and Zainul Ariffin: You can deploy Python/Kivy on Android (and iPhone I think) using Buildozer: kivy.org/doc/stable/guide/packaging-android.html
You need a UI framework. Tkinter is the standard one for Python and I have tutorials on it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--tbWoZSi3LU.html An alternative is PyQT, which people seem to either love or hate
Hey derek, i really love your videos, last time that was a bug from me, but this time, i copy pasted the code, did the instructions, im on windows 10 Pro, using kivy 1.10.1, python 3.7, please help
Please, could you tell me how to keep the string u passed in builder as a .kv file? I copied it to a .kv file with matching name of kivytut2.kv but its still not working.
Vishal Kalra look up buildozer. It will help you turn your app into an .apk file to install on your Android device. I just recently did this. One note though, it won't work on Windows but python-for-android has a link to a VM of a Linux distribution that is already setup with kivy and buildozer. You just make a shared folder to communicate files between the host and guest OS and then build the .apk on the Linux guest OS.
I'm on windows. How do you save a .kv file? In python, I saved it as .kv and it wouldn't run so I installed Pycharm, and Pycharm says I need to associate .kv with a programming language. It's incredibly frustrating when even copying and pasting doesn't allow it to run.
Did you try Atom ? It's free and you've just need to specify your file name + extension to work like "main.py" or "app.kv" . Then it willl automatically run the .kv if it has the same name as your App fonction.
I've been following along with Sublime Text 3. Can install packages for both python and .kv files, handles the tabs and syntax colouring nicely also includes an auto suggest which while isn't perfect has been quite useful.