PySimpleGUI / PySimpleGUI

Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.

Home Page:https://www.PySimpleGUI.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Is it possible to embed multiple elements in each other?

Devcom439 opened this issue · comments

Type of Issue (Enhancement, Error, Bug, Question)

Question


Operating System

Windows 11

PySimpleGUI Port (tkinter, Qt, Wx, Web)

Tkinter


Versions

Python version (sg.sys.version)

3.11.6

PySimpleGUI Version (sg.__version__)

4.60.5

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

8.6.12


Your Experience In Months or Years (optional)

Years Python programming experience
Almost 1 year

Years Programming experience overall
Almost 1 year

Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
no

Anything else you think would be helpful?
Yes, I would like to embed a Listbox element into an Output element.


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • None of your GUI code was generated by an AI algorithm like GPT
  • If not tkinter - looked for Demo Programs for specific port
  • For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • Run your program outside of your debugger (from a command line)
  • Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

I'm trying to have a list showing all the videos added to the local playlist, so that you can remove them all from the list or individually.

Screenshot, Sketch, or Drawing

What happens is:
image

What I want to happen:
image


Watcha Makin?

I'm making a Youtube video downloader with additional GUI. It supports whole Youtube playlists and the option to just download the audio. (Basically just pytube combined with pysimplegui.)

Maybe a "Tree" would be a good way to represent your data since you can mix individual items and lists of items. You can delete a "node" that is an entire list, or you can delete an individual item from within it.