comparison cagou/core/dialog.py @ 312:772c170b47a9

Python3 port: /!\ Cagou now runs with Python 3.6+ Port has been done in the same way as for backend (check backend commit b2d067339de3 message for details).
author Goffi <goffi@goffi.org>
date Tue, 13 Aug 2019 19:14:22 +0200
parents 1b835bcfa663
children 4d660b252487
comparison
equal deleted inserted replaced
311:a0d978d3ce84 312:772c170b47a9
35 close_cb = properties.ObjectProperty() 35 close_cb = properties.ObjectProperty()
36 36
37 37
38 class ConfirmDialog(BoxLayout): 38 class ConfirmDialog(BoxLayout):
39 title = properties.StringProperty() 39 title = properties.StringProperty()
40 message = properties.StringProperty(_(u"Are you sure?")) 40 message = properties.StringProperty(_("Are you sure?"))
41 # callback for no/cancel 41 # callback for no/cancel
42 no_cb = properties.ObjectProperty() 42 no_cb = properties.ObjectProperty()
43 # callback for yes/ok 43 # callback for yes/ok
44 yes_cb = properties.ObjectProperty() 44 yes_cb = properties.ObjectProperty()