• Home
  • Raw
  • Download

Lines Matching refs:listbox

28         self.autocompletewindow = self.listbox = self.scrollbar = None
116 cursel = int(self.listbox.curselection()[0])
118 self.listbox.see(cursel)
134 self.listbox.configure(selectbackground=self.origselbackground,
137 self.listbox.configure(selectbackground=self.listbox.cget("bg"),
138 selectforeground=self.listbox.cget("fg"))
143 self.listbox.delete(0, END)
145 self.listbox.insert(END, item)
146 self.listbox.select_set(self._binary_search(self.start))
186 self.listbox = listbox = Listbox(acw, yscrollcommand=scrollbar.set,
189 listbox.insert(END, item)
190 self.origselforeground = listbox.cget("selectforeground")
191 self.origselbackground = listbox.cget("selectbackground")
192 scrollbar.config(command=listbox.yview)
194 listbox.pack(side=LEFT, fill=BOTH, expand=True)
198 self.listbox.select_set(self._binary_search(self.start))
213 self.listupdateid = listbox.bind(LISTUPDATE_SEQUENCE,
216 self.doubleclickid = listbox.bind(DOUBLECLICK_SEQUENCE,
249 cursel = int(self.listbox.curselection()[0])
254 cursel = int(self.listbox.curselection()[0])
288 self.listbox.select_clear(0, int(self.listbox.curselection()[0]))
289 self.listbox.select_set(self._binary_search(self.start))
306 cursel = int(self.listbox.curselection()[0])
317 cursel = int(self.listbox.curselection()[0])
323 jump = self.listbox.nearest(self.listbox.winfo_height()) - \
324 self.listbox.nearest(0)
335 self.listbox.select_clear(cursel)
336 self.listbox.select_set(newsel)
344 cursel = int(self.listbox.curselection()[0])
396 self.listbox.unbind(LISTUPDATE_SEQUENCE, self.listupdateid)
404 self.listbox.destroy()
405 self.listbox = None