194 |
self.dispatchEvent (GFEvent ('requestPAGE', prevPageNo)) |
self.dispatchEvent (GFEvent ('requestPAGE', prevPageNo)) |
195 |
|
|
196 |
def action (self, event): |
def action (self, event): |
197 |
|
# set the value and run |
198 |
|
if not self._form.endEditing (): |
199 |
|
return |
200 |
entry= self._form._currentEntry |
entry= self._form._currentEntry |
201 |
if hasattr (entry, 'trigger'): |
if hasattr (entry, 'trigger'): |
202 |
self.dispatchEvent (GFEvent('fireTRIGGER', entry.trigger)) |
self.dispatchEvent (GFEvent('fireTRIGGER', entry.trigger)) |
203 |
|
else: |
204 |
|
# if you wish a nextEntry, do it here! |
205 |
|
pass |
206 |
|
# or here |
207 |
|
self._form.beginEditing () |
208 |
|
|
209 |
# |
# |
210 |
# nextEntry |
# nextEntry |