Changements in options_list in UIDropDownMenu (since 0.6.9) #608
Unanswered
jlaumonier
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am currently updating pygame_gui from 0.6.9 to 0.6.12 (yes, i am late) and i have discovered that now options_list elements are transformed to tuple if the parameter is a list of str.
I am not sure to understand the use case of this transformation (maybe for future use case ?). And, since the documentation has not been update on readthedocs, I did not find (even in the code) the meaning of this tuple. As i understand, I could be a (text, id), but why force the usage of a tuple when passing a list of str ?
Is someone have information about this new feature ?
Thank you
Julien
Beta Was this translation helpful? Give feedback.
All reactions