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

Method __init__

Lib/tkinter/__init__.py:2918–2937  ·  view source on GitHub ↗

Construct a button 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

2916 """Button widget."""
2917
2918 def __init__(self, master=None, cnf={}, **kw):
2919 """Construct a button widget with the parent MASTER.
2920
2921 STANDARD OPTIONS
2922
2923 activebackground, activeforeground, anchor,
2924 background, bitmap, borderwidth, cursor,
2925 disabledforeground, font, foreground
2926 highlightbackground, highlightcolor,
2927 highlightthickness, image, justify,
2928 padx, pady, relief, repeatdelay,
2929 repeatinterval, takefocus, text,
2930 textvariable, underline, wraplength
2931
2932 WIDGET-SPECIFIC OPTIONS
2933
2934 command, compound, default, height,
2935 overrelief, state, width
2936 """
2937 Widget.__init__(self, master, 'button', cnf, kw)
2938
2939 def flash(self):
2940 """Flash the button.

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected