Skip to content

Tag: kivy

Kivy – Error while trying to use my.kv file

I’ve just started learning kivy and I am unable to get a black window when I run this code, and this is an error: Kivy files require #:kivy !ex This is my code snippet: gui_python.py My my.kv file is: Answer I use Builder.load_string() and paste my .kv code in it and that’s work

Kivy: How to bind dropdown opening properly?

I am struggling with making DropDown opening bind properly to the releasing of the selection button. I tried using this: selection_button.bind(on_release=drpdn.open) The binding seems to work rather randomly when I create more than one DropDown (some DropDowns open others do not and I cannot see any logic in …

Kivy Popup Shows Same Buttons as Main Screen

I’m very new to Kivy (been using for about four hours…) and I’ve hit a wall with popups. I have a main screen which has four buttons in a float layout. On press down I want the ‘MOVE’ button to open a popup. Now I’ve got this working but the popup contains the same four but…