Short answer: No, the text isn’t exposed in selected_value
. But you can store as much information in the value as you want to. Eg:
# The "value" for each item is a (name,value) tuple
self.year_drop_down.items = [
("2002", ('2002', 1.4)),
("2003", ('2003', 2.2))
]
# ...and then later...
name, value = self.year_drop_down.selected_value