(p1)
| 131 | |
| 132 | |
| 133 | def next_button(p1): |
| 134 | global results |
| 135 | global index |
| 136 | index += 1 |
| 137 | if len(w.inputSearchTitle.get()) > 0: |
| 138 | if index >= 0 and index < len(results): |
| 139 | w.outputNotice.delete(1.0, END) |
| 140 | w.outputNotice.insert(1.0, results[index][2]) |
| 141 | |
| 142 | else: |
| 143 | w.errorOutput.configure(text="Please fill the search field. ") |
| 144 | |
| 145 | |
| 146 | def init(top, gui, *args, **kwargs): |