MCPcopy Create free account
hub / github.com/geekcomputers/Python / next_button

Function next_button

notepad/notepad_support.py:133–143  ·  view source on GitHub ↗
(p1)

Source from the content-addressed store, hash-verified

131
132
133def 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
146def init(top, gui, *args, **kwargs):

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
deleteMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected