Label widget which can display text and bitmaps.
| 3213 | |
| 3214 | |
| 3215 | class Label(Widget): |
| 3216 | """Label widget which can display text and bitmaps.""" |
| 3217 | |
| 3218 | def __init__(self, master=None, cnf={}, **kw): |
| 3219 | """Construct a label widget with the parent MASTER. |
| 3220 | |
| 3221 | STANDARD OPTIONS |
| 3222 | |
| 3223 | activebackground, activeforeground, anchor, |
| 3224 | background, bitmap, borderwidth, cursor, |
| 3225 | disabledforeground, font, foreground, |
| 3226 | highlightbackground, highlightcolor, |
| 3227 | highlightthickness, image, justify, |
| 3228 | padx, pady, relief, takefocus, text, |
| 3229 | textvariable, underline, wraplength |
| 3230 | |
| 3231 | WIDGET-SPECIFIC OPTIONS |
| 3232 | |
| 3233 | height, state, width |
| 3234 | |
| 3235 | """ |
| 3236 | Widget.__init__(self, master, 'label', cnf, kw) |
| 3237 | |
| 3238 | |
| 3239 | class Listbox(Widget, XView, YView): |