This is not necessarily the current version of this TIP.
|Title:||Expose the Type and Modified-State of Widget Options|
|Version:||$Revision: 1.1 $|
|Author:||Peter MacDonald <pmacdona at pdqi dot com>|
|Created:||Friday, 16 April 2004|
This TIP adds a 6th (and 7th element) to each option in the output of [path configure] for Tk widgets, indicating the type and modified status of each option respectively.
The configure subcommand of Tk widgets provides a powerful method for introspection of widget state information. Unfortunately, two important pieces of information are currently unavailable. Namely, the type Tk is expecting for an option and the whether a user has explicitly assigned a value.
The type field is valuable in automating interfaces for editing the contents of widgets.
The modified field is useful in changing styles (such as in tk_setPalette) where we update all w