Label widget which can display text and bitmaps.
| 3342 | |
| 3343 | |
| 3344 | class Label(Widget): |
| 3345 | """Label widget which can display text and bitmaps.""" |
| 3346 | |
| 3347 | def __init__(self, master=None, cnf={}, **kw): |
| 3348 | """Construct a label widget with the parent MASTER. |
| 3349 | |
| 3350 | STANDARD OPTIONS |
| 3351 | |
| 3352 | activebackground, activeforeground, anchor, |
| 3353 | background, bitmap, borderwidth, cursor, |
| 3354 | disabledforeground, font, foreground, |
| 3355 | highlightbackground, highlightcolor, |
| 3356 | highlightthickness, image, justify, |
| 3357 | padx, pady, relief, takefocus, text, |
| 3358 | textvariable, underline, wraplength |
| 3359 | |
| 3360 | WIDGET-SPECIFIC OPTIONS |
| 3361 | |
| 3362 | height, state, width |
| 3363 | |
| 3364 | """ |
| 3365 | Widget.__init__(self, master, 'label', cnf, kw) |
| 3366 | |
| 3367 | |
| 3368 | class Listbox(Widget, XView, YView): |