MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / Label

Class Label

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:3215–3236  ·  view source on GitHub ↗

Label widget which can display text and bitmaps.

Source from the content-addressed store, hash-verified

3213
3214
3215class Label(Widget):
3216 """Label widget which can display text and bitmaps."""
3217
3218 def __init__(self, master=None, cnf={}, **kw):
3219 """Construct a label widget with the parent MASTER.
3220
3221 STANDARD OPTIONS
3222
3223 activebackground, activeforeground, anchor,
3224 background, bitmap, borderwidth, cursor,
3225 disabledforeground, font, foreground,
3226 highlightbackground, highlightcolor,
3227 highlightthickness, image, justify,
3228 padx, pady, relief, takefocus, text,
3229 textvariable, underline, wraplength
3230
3231 WIDGET-SPECIFIC OPTIONS
3232
3233 height, state, width
3234
3235 """
3236 Widget.__init__(self, master, 'label', cnf, kw)
3237
3238
3239class Listbox(Widget, XView, YView):

Callers 1

_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected