Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Ascertaining attributes of a Tk object

by beretboy (Chaplain)
on Jul 01, 2005 at 15:44 UTC ( #471759=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Ascertaining attributes of a Tk object
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://471759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2015-07-28 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls