MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/tkinter/__init__.py:3428–3446  ·  view source on GitHub ↗

Construct a label widget with the parent MASTER. STANDARD OPTIONS activebackground, activeforeground, anchor, background, bitmap, borderwidth, cursor, disabledforeground, font, foreground, highlightbackground, highlightcolor, high

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

Source from the content-addressed store, hash-verified

3426 """Label widget which can display text and bitmaps."""
3427
3428 def __init__(self, master=None, cnf={}, **kw):
3429 """Construct a label widget with the parent MASTER.
3430
3431 STANDARD OPTIONS
3432
3433 activebackground, activeforeground, anchor,
3434 background, bitmap, borderwidth, cursor,
3435 disabledforeground, font, foreground,
3436 highlightbackground, highlightcolor,
3437 highlightthickness, image, justify,
3438 padx, pady, relief, takefocus, text,
3439 textvariable, underline, wraplength
3440
3441 WIDGET-SPECIFIC OPTIONS
3442
3443 height, state, width
3444
3445 """
3446 Widget.__init__(self, master, 'label', cnf, kw)
3447
3448
3449class Listbox(Widget, XView, YView):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected