Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl: the Markov chain saw
 
PerlMonks  

Re: Creating dynamic Tk buttons??

by converter (Priest)
on Jun 06, 2003 at 17:23 UTC ( #263783=note: print w/ replies, xml ) Need Help??


in reply to Creating dynamic Tk buttons??

$buttons-Button(...)->pack(...) allocates and packs a new Tk::Button widget. If you want to replace existing Button widgets, you can invoke the destroy method against each existing Button's reference. If you think the number of Buttons will remain constant during run-time, allocate the Buttons once, then invoke the configure method (see perldoc Tk::options) against each button to change its attributes.


Comment on Re: Creating dynamic Tk buttons??
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-04-19 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls