Constructs a Ttk Widget with the parent master. STANDARD OPTIONS class, cursor, takefocus, style SCROLLABLE WIDGET OPTIONS xscrollcommand, yscrollcommand LABEL WIDGET OPTIONS text, textvariable, underline, image, compound,
(self, master, widgetname, kw=None)
| 504 | """Base class for Tk themed widgets.""" |
| 505 | |
| 506 | def __init__(self, master, widgetname, kw=None): |
| 507 | """Constructs a Ttk Widget with the parent master. |
| 508 | |
| 509 | STANDARD OPTIONS |
| 510 | |
| 511 | class, cursor, takefocus, style |
| 512 | |
| 513 | SCROLLABLE WIDGET OPTIONS |
| 514 | |
| 515 | xscrollcommand, yscrollcommand |
| 516 | |
| 517 | LABEL WIDGET OPTIONS |
| 518 | |
| 519 | text, textvariable, underline, image, compound, width |
| 520 | |
| 521 | WIDGET STATES |
| 522 | |
| 523 | active, disabled, focus, pressed, selected, background, |
| 524 | readonly, alternate, invalid |
| 525 | """ |
| 526 | master = setup_master(master) |
| 527 | tkinter.Widget.__init__(self, master, widgetname, kw=kw) |
| 528 | |
| 529 | |
| 530 | def identify(self, x, y): |
nothing calls this directly
no test coverage detected