MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/tkinter/__init__.py:3371–3379  ·  view source on GitHub ↗

Construct a listbox widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, cursor, exportselection, fg, font, foreground, height, highlightbackground, highlightcolor, highlightthickness, relief, selectbackground, selectborderwidth, sele

(self, master=None, cnf={}, **kw)

Source from the content-addressed store, hash-verified

3369 """Listbox widget which can display a list of strings."""
3370
3371 def __init__(self, master=None, cnf={}, **kw):
3372 """Construct a listbox widget with the parent MASTER.
3373
3374 Valid resource names: background, bd, bg, borderwidth, cursor,
3375 exportselection, fg, font, foreground, height, highlightbackground,
3376 highlightcolor, highlightthickness, relief, selectbackground,
3377 selectborderwidth, selectforeground, selectmode, setgrid, takefocus,
3378 width, xscrollcommand, yscrollcommand, listvariable."""
3379 Widget.__init__(self, master, 'listbox', cnf, kw)
3380
3381 def activate(self, index):
3382 """Activate item identified by INDEX."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected