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

Class Label

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

Label widget which can display text and bitmaps.

Source from the content-addressed store, hash-verified

3423
3424
3425class Label(Widget):
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 1

_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…