bullet icon indicating copy to clipboard operation
bullet copied to clipboard

Use dict as choices

Open D3f0 opened this issue 5 years ago • 1 comments

It'd be great to support dictionaries as choices for the Bullet class. This allows to present a user friendly input to the user, but keep arbitrary types as results, for example integers or callables.

D3f0 avatar Mar 06 '19 06:03 D3f0

I'd also be interested to see this for the Check class, and also for the Scrollbar class. In the same way in those classes, you're choosing from a list of items so it'd be interesting to get a list of hidden values instead of displayed labels.

lelutin avatar Apr 25 '20 16:04 lelutin