4 ms·
From the github page: "The window definition is simplified by using Python core data types understood by beginners (lists and dictionaries)."
by ape4 3y ago
From the github page: "The window definition is simplified by using Python core data types understood by beginners (lists and dictionaries)."
- quietbritishjim 3y agoWhy do you post that quote? I think there must be some implied meaning I'm not getting. Is there a way to use dictionaries to set properties and nest widgets in a similar way to my code example?
- Izkata 3y agoThe second example shows setting text through a dictionary.
- quietbritishjim 3y agoNo, it showed setting text through a different method that does not use a dictionary. (Maybe it uses one in its implementation, but we're taking about the interface here.) There is no usage of Python dictionaries anywhere on the whole page. I have to admit, the alternative method used in the second example is interesting, it's probably just as good as my suggestion in most ways. But ape4's quote about dictionaries still doesn't make sense to me (both on its own or in context in this conversation).