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

Method __init__

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:506–527  ·  view source on GitHub ↗

Constructs a Ttk Widget with the parent master. STANDARD OPTIONS class, cursor, takefocus, style SCROLLABLE WIDGET OPTIONS xscrollcommand, yscrollcommand LABEL WIDGET OPTIONS text, textvariable, underline, image, compound,

(self, master, widgetname, kw=None)

Source from the content-addressed store, hash-verified

504 """Base class for Tk themed widgets."""
505
506 def __init__(self, master, widgetname, kw=None):
507 """Constructs a Ttk Widget with the parent master.
508
509 STANDARD OPTIONS
510
511 class, cursor, takefocus, style
512
513 SCROLLABLE WIDGET OPTIONS
514
515 xscrollcommand, yscrollcommand
516
517 LABEL WIDGET OPTIONS
518
519 text, textvariable, underline, image, compound, width
520
521 WIDGET STATES
522
523 active, disabled, focus, pressed, selected, background,
524 readonly, alternate, invalid
525 """
526 master = setup_master(master)
527 tkinter.Widget.__init__(self, master, widgetname, kw=kw)
528
529
530 def identify(self, x, y):

Callers

nothing calls this directly

Calls 2

setup_masterFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected