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