Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
custom picker?
-
is there a way to provide a list of text items for DatePicker to offer instead of dates?
is there another type of picker that could be used instead? -
A tableview with ListDataSource source is the usual method. You have to implement your own delegate that implements
tableview_did_select
, or else uses the list data sourceaction
. See for example https://github.com/humberry/ui-tutorial/blob/master/ShowTableView.py.With care you can use console.alert, if you only want or need up to 3 choices. I say with care, because it is important that you have no other animations going on when the alert is displayed. If you can be sure of that,
ui.in_background
can work. If an animation might be competing, in some cases you might need to use a ui.delay to delay the execution of your alert long enough to make sure animations are done. Search forums for console.alert and delay, I think there was a discussion a few weeks back. -
Thanks. That got me started pretty well. I can't believe how refined everything on this is. Makes me wonder if there are other apps that are this nice.