All Questions
23 questions
0
votes
1
answer
60
views
MDDropDownItem Dynamic implemetnation
My objective was to have a dropdown item, with relative dropdown menu, and a "+" button below it that would trigger the "+" icon to be replaced by a new dropdown item and have the &...
0
votes
1
answer
87
views
Multiple drop down lists using Kivy library
I want to have multiple dropdown lists as a part of my application but some of them do not work and I don't know why.
The code for that is:
from kivy.uix.boxlayout import BoxLayout
from kivy.uix....
0
votes
1
answer
377
views
Kivy MD DropDownItem: how to set the item of a dropdownitem into another dropdownitem
I'm trying to developed a simple GUI in Kivy MD / Python. Originally, I modified the example code:
from kivy.lang import Builder
from kivy.metrics import dp
from kivymd.uix.list import ...
0
votes
1
answer
307
views
Creating DropDown List in Kivy using for loop in .kv file
I am coding a system in kivy that requires the user to input a 3 letter abbreviation of a sports team's name. E.G 'ENG' for England like you would see on a scoreboard. I am trying to use dropdown ...
2
votes
2
answers
583
views
How to get the selected value from my kivy dropdown menu
I have a dropdown menu in which I would like to know which value the user has selected so I can use it later in my program. This is my .kv code:
BoxLayout:
orientation: 'horizontal'
...
0
votes
1
answer
126
views
Kivy how to have one class and method for multiple dropdowns?
I am making an app where I will have many different labels for dropdown lists. These dropdown lists will be activated by a button that will show the dropdown.
My problem is that I do not know how to ...
4
votes
1
answer
456
views
How to change a KivyMD Menu caller to a Widget in a ScreenManager Screen
So, I'm working on a simple kivy app and I have three buttons (MDRaisedButton's) which each open the same KivyMD Menu (MDDropdownMenu) on release.
Two of these buttons are in different ScreenManager ...
0
votes
1
answer
123
views
Python3 Kivy Multiple DropDown Menus not working
I am attempting to write an application in Kivy but have run into an issue. When I add a second dropdown menu (called NotesDropDown) both of the dropdown menus stop working.
Here is the main code:
...
0
votes
1
answer
341
views
Write the MDDropdownMenu item
I try to write the selected item in MDDropdownMenu.
But, even with this code, I don't find it
I don't have any result with menu.bind (.....) function
from kivymd.app import MDApp
from kivymd.uix.menu ...
-1
votes
1
answer
423
views
Can't get MDDropdownMenu and MDDropDownItem to work
Whenever I press on the MDDropDownItem the Menu opens but when I select an option nothing happens
How can I solve this?
Thanks in advance
Here is my code:
from kivymd.uix.screen import MDScreen
from ...
1
vote
1
answer
199
views
How to code drop-down list properly in kivy-language?
I'm testing the drop-down list in order to get rid of some buttons in another code of mine but i can't make it work. On kivy's main web page the explanation is really shallow principaly when talking ...
0
votes
1
answer
667
views
Selectively delete child widgets from dynamically populated drop down list in Kivy
I have created a dynamic drop down list which creates as many buttons as I specify in a text input field. The buttons are getting dynamically populated as expected but I would like to selectively ...
0
votes
2
answers
510
views
kivy dropdown menu in FloatLayout and GridLayout doesnt show up
Hey guys trying to create an app with a dropdown button but it seems to not work (the full app has GridLayout with 7 rows and this FloatLayout in the example is one of the rows) I've tried with ...
0
votes
0
answers
2k
views
How Use lambda in kivy bind python?
I am learning to use the dropdown object with the documentation example
from kivy.uix.dropdown import DropDown
from kivy.uix.button import Button
from kivy.base import runTouchApp
dropdown = ...
0
votes
1
answer
499
views
Why is my kivy dropdown menu not showing up (Python)?
I am currently trying to make a vocabulary trainer with kivy so I can use it on my phone. But I am somehow stuck at the dropdown menu. I used the dropdown menu sample from the kivy wiki and made a few ...