Python Forum
comboBox to list files in a folder?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
comboBox to list files in a folder?
#1
Can I use comboBox to list files in a folder? And how?
Reply
#2
Absolutely.
I bit of info would be helpful
Most important, Which graphic package are you using?
What have you attempted so far?
Here's an example for wxpython: https://github.com/wxWidgets/wxPython/bl...omboBox.py
tkinter exampe: https://stackoverflow.com/questions/1775...bobox-demo
Reply
#3
I am using PyQt4 and QDesigner. I have created the GUI with combo boxes. I just have no clue how to get the combo box to populate with files from a folder. So the idea is to have a drop down list of wav files that will reside in a folder. Once the combo box is pressed and the drop down list populates. User selects a wav file that then loads into one of sixteen button/slots.
Reply
#4
I have used QDesigner, but it's been a long time, so sorry I guess I cna't help
Someone else will pick up here.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] How can I sync Combobox index to other combobox index? nickzsche 2 2,335 Jan-03-2022, 12:29 PM
Last Post: Axel_Erfurt
  [Tkinter] Tkinter delete combobox content and not the list LagratteCchouette 4 8,348 Dec-29-2019, 11:04 AM
Last Post: LagratteCchouette

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020