itemconfigure

This command is similar to the configure widget command except that it modifies item-specific options for the items given by tagOrId instead of modifying options for the overall canvas widget.

(#<widget> 'itemconfigure tagOrId)
returns a list describing all of the available options for the first item given by tagOrId (see Tk_ConfigureInfo for information on the format of this list).
(#<widget> 'itemconfigure tagOrId option)
If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified).
(#<widget> 'itemconfigure tagOrId option value ?option value ...?)
modifies the given widget option(s) to have the given value(s) in each of the items given by tagOrId; in this case the command returns an empty string. The options and values are the same as those permissible in the create widget command when the item(s) were created; see the sections describing individual item types below for details on the legal options.

© Author | Home | Sitemap