Changes

Jump to: navigation, search

Accessibility

234 bytes added, 08:38, 11 November 2011
Sample
===Into python===
====SampleATK object====
# mark the root of this window with its PID so we can easily identify it
label_acc.add_relationship(atk.RelationType.LABEL_FOR, entry_acc)
entry_acc.add_relationship(atk.RelationType.LABELLED_BY, label_acc)
 
====Focus====
 
Sample for setting the focus on the date field if that date field is empty:
 
def _post_init(self):
date = self.top.get_object('eer_date_entry')
if not date.get_text_length():
date.grab_focus();
====Validate====

Navigation menu