Skip to main content

All 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 &...
Luca della Sciucca's user avatar
2 votes
1 answer
53 views

Python GUI Dropdown Menu shifting everytime

I want to create a GUI. There is a 2 main dropdown menus. First one where the user select the lesson. Second one where the user select a number and the code genereate new dropdown menu/menus ...
Mehmet Kork's user avatar
0 votes
1 answer
43 views

How do I change the value of a variable in python tkinter based on drop down selection?

So I'm brand new to coding in general and I'm trying to create a GUI that returns the number of players per team, number of teams in a match, and average match length based on a dropdown menu ...
Katie Wolfe's user avatar
0 votes
1 answer
129 views

How to create a drop down button in Python when creating a GUI and extract the selection each time and use it assign it to a variable?

I have to create a GUI which has a drop down button where you can select a currency from the given options and the selection is assigned to a variable called currency which is used in another function....
VSP's user avatar
  • 389
0 votes
1 answer
61 views

Making a dropdown menu for a python Pass program I am making for school

I'm a freshman in high school. I am making a Pass program for my school and I'm not sure how to store our staff directory in a file and put it in a dropdown menu when selecting the person the pass is ...
Youssef Barsoum's user avatar
0 votes
1 answer
1k views

Change checkbox list based on OptionMenu answer with tkinter

I'm having a bit of trouble with tkinter Here's the thing : I have a dropdown (OptionMenu) that allows me to select something. I have a tracer set on the variable from the OptionMenu that calls a ...
Seluj78's user avatar
  • 13
0 votes
1 answer
221 views

How can I set the values of an OptionBox with another list using setOptionBox

I am currently creating a GUI using appJar: from appJar import gui listOne = ["first", "set", "of", "values"] listTwo = ["second", "set", "of", "values"] def reset(reset): app.setOptionBox("...
August Williams's user avatar
-1 votes
1 answer
828 views

Python function executed when Tk command is added to menu cascade, not when command is selected by user [duplicate]

I'm beginning to write a GUI, based on the code included at the following site: effbot.org/tkinterbook/menu.htm. Ideally, every time I would click one of the commands on the sample rate cascade, as ...
tcronin's user avatar
  • 11
0 votes
1 answer
810 views

I am able to create a dropdown menu but I want it to be within the GUI of the main program in python

So I currently have my main program that works fine, but I want a dropdown menu to appear within the GUI. When I try some coding though, it makes the new dropdown menu appear inside a new window when ...
Luke H's user avatar
  • 117
2 votes
1 answer
2k views

Dropdown partially visible in Kivy (Python)

I am trying to create a generic menu bar in Kivy (GUI for Python) and I am having trouble with dropdown menus. They only partially appear and I don't know why (see under Submenu 1): Here is my code if ...
Matthieu Pizenberg's user avatar
0 votes
0 answers
140 views

How to Build a Custom wxPython Custom Menu Widget

Background: In recent days I've been experimenting with building many ordinary widgets from scratch in wxPython using the PyControl method of building custom controls as a personal challenge. However,...
MarkyD43's user avatar
  • 467