I try to a list of object for which I implement the __str__
method as asked by the documentation : https://docs.pysimplegui.com/en/latest/documentation/module/elements/combo/
import PySimpleGUIQt as sg
class ComboPoint:
def __init__(self, location) -> None:
self.location = location
def __str__(self) -> str:
return "something"
when I call:
window[key_name_combo].update(values=values_for_combo)
I should except to have the same value displayed many time but I have only empty lines (which means that at least behind object is viewed).
What I miss ?