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)
| 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. |