All Questions
7 questions
0
votes
1
answer
12
views
How to make choices of magicgui's `ComboBox` dependent on current value of other `ComboBox`?
I want to create a magicgui widget that contains two ComboBox widgets. The choices of the second ComboBox should depend on the current value of the first ComboBox. How can I accomplish that?
I know ...
0
votes
1
answer
124
views
Can a Gtk.Entry (part of a Gtk.SpinButton) "have-focus" if it's in a Gtk.Menu?
I'm making an application that can change certain parameters through a Gtk.Menu. I have a Gtk.MenuButton that pops down a Gtk.Menu with other submenus in it. One of those submenus has Gtk.MenuItems ...
1
vote
1
answer
5k
views
Dropdown widget Python
Please bear with me. First post for me here.
I am using Python, first programming language for me, for about two weeks. Now I am stuck..
I want to create a single graph with a dropdown widget.
On ...
4
votes
2
answers
16k
views
Multiple dependent widgets (dropdown menu) on Jupyter notebook
I was following the example on how to handle multiple dependent widgets on jupyter notebooks from here:
Dynamically changing dropdowns in IPython notebook widgets and Spyre
In that example the code ...
1
vote
1
answer
1k
views
Select dropdown key for ipython widget
In creating an ipython dropdown widget,
from IPython.html import widgets
from IPython.display import display
d = {"1": "a", "2": "b"}
dropdown = widgets.Dropdown(options=d)
display(dropdown)
I can ...
0
votes
1
answer
115
views
Python calculation/get function with menubutton
I am having problems when trying to set up a calculation for an NFL Simulator. User selects a team from a menu and each team has three variables: power rank, win percentage and luck. When making the ...
6
votes
1
answer
19k
views
Qt/PyQt: How do I create a drop down widget, such as a QLabel, QTextBrowser, etc.?
How do I create a drop-down widget, such as a drop-down QLabel, drop-down QTextBrowser, etc.?
For example, I log information in a QTextBrowser, but I don't want it taking up space on the screen. So I ...