|
From: Brian G. <bgr...@mo...> - 2005-02-25 18:54:04
|
Eric Boudaillier wrote: > Joe English wrote: > >> Questions: Are the 'set' and 'get' methods really needed? >> They're equivalent to [$w configure -value] and [$w cget -value], >> respectively; or you can just access the linked -variable. > > > Isn't there a general rule in tk that options are never changed > internally, but only via configure subcommand ? > This is at least what I have observed, with for example [entry]. Actually, if you look at a label widget, the -text option changes to match the -textvariable variable contents. -Brian -- ------------------------------------------------------------- -- Model Technology Inc. -- -- 8005 SW Boeckman Road 503.685.7000 tel -- -- Wilsonville, OR 97070 USA 503.685.0921 fax -- ------------------------------------------------------------- -- Technical support ............ mailto:su...@mo... -- -- Sales and marketing info ....... mailto:sa...@mo... -- -- Licensing .................... mailto:li...@mo... -- -- Home Page ........................ http://www.model.com -- -- AIM ........................................ bgriffin42 -- ------------------------------------------------------------- |