-
KevinKarney
I have a UI datepicker object which shows today's date on starting the dialog. If it has been moved to a different date, can I reset it (with a button) back to today's date. Whatever I try, I get '_ui.View object does not support item reassignment'
Does anyone know a way to set this picker back to its initial state???
Any help greatly appreciated - I am struggling a bit
Kevin
-
KevinKarney
I am new to Python but have progressed as far as getting a complex algorithm coded, but I am now struggling with the UI interface. I have a button which when pressed should read the date from the date spinner.
The code for the button is...
def GetDate(sender):
thisdate = sender.superview['DatePicker']But I cannot see how to get year, month, day from this date
H E L PBest regards and thanks in advance
Kevin -
KevinKarney
Brilliant.
Thanks dvader9 and @ccc. I knew it would be easy!
Best wishes, Kevin -
KevinKarney
I am quite new to Pythonista (& Python), but have managed to use it to code some very complex astronomical calculations. But what I would really like is a means to input a whole bunch of data into a table - do the calculations - then to output the results in a similar dialog box.
Can anyone direct to a dialog box generator?
I would be most grateful...
Kevin -
KevinKarney
Gregory
Anything you manage to create in relation to a GUI would be welcome. I would prefer to keep everything within Python if possible...
Thanks for your reply
Kevin