Construct a string variable. MASTER can be given as master widget. VALUE is an optional value (defaults to "") NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is retained
(self, master=None, value=None, name=None)
| 553 | _default = "" |
| 554 | |
| 555 | def __init__(self, master=None, value=None, name=None): |
| 556 | """Construct a string variable. |
| 557 | |
| 558 | MASTER can be given as master widget. |
| 559 | VALUE is an optional value (defaults to "") |
| 560 | NAME is an optional Tcl name (defaults to PY_VARnum). |
| 561 | |
| 562 | If NAME matches an existing variable and VALUE is omitted |
| 563 | then the existing value is retained. |
| 564 | """ |
| 565 | Variable.__init__(self, master, value, name) |
| 566 | |
| 567 | def get(self): |
| 568 | """Return value of variable as string.""" |