in reply to Ascertaining attributes of a Tk object
This is suprisingly hard to find reading the Tk docs, but very clearly laid out in Chapter 13 of Mastering Perl/Tk:
$widget->cget(-option) Will return the current setting of the option.
"Sanity is the playground of the unimaginative" -Unknown
$widget->cget(-option) Will return the current setting of the option.
"Sanity is the playground of the unimaginative" -Unknown
In Section
Seekers of Perl Wisdom