validate the data This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.
(self)
| 211 | # command hooks |
| 212 | |
| 213 | def validate(self): |
| 214 | '''validate the data |
| 215 | |
| 216 | This method is called automatically to validate the data before the |
| 217 | dialog is destroyed. By default, it always validates OK. |
| 218 | ''' |
| 219 | |
| 220 | return 1 # override |
| 221 | |
| 222 | def apply(self): |
| 223 | '''process the data |