MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/tkinter/__init__.py:2835–2854  ·  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

2833 """Button widget."""
2834
2835 def __init__(self, master=None, cnf={}, **kw):
2836 """Construct a button widget with the parent MASTER.
2837
2838 STANDARD OPTIONS
2839
2840 activebackground, activeforeground, anchor,
2841 background, bitmap, borderwidth, cursor,
2842 disabledforeground, font, foreground
2843 highlightbackground, highlightcolor,
2844 highlightthickness, image, justify,
2845 padx, pady, relief, repeatdelay,
2846 repeatinterval, takefocus, text,
2847 textvariable, underline, wraplength
2848
2849 WIDGET-SPECIFIC OPTIONS
2850
2851 command, compound, default, height,
2852 overrelief, state, width
2853 """
2854 Widget.__init__(self, master, 'button', cnf, kw)
2855
2856 def flash(self):
2857 """Flash the button.

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected