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

Perl Tk : Clearing Frame Elements

by pavunkumar (Scribe)
on Apr 20, 2010 at 04:14 UTC ( #835644=perlquestion: print w/ replies, xml ) Need Help??
pavunkumar has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, In Perl tk I have designed one interface in that I have one frame . That frame has some Entry And Text box . When I am clicking the button those Entry and Text value has to clear in the Frame .I know that we can access each ( Entry , Text ) object then we can clear using delete function. I need to do as like html reset button functionality . How can I do this things in Perl Tk...... Thanks ...

Comment on Perl Tk : Clearing Frame Elements
Re: Perl Tk : Clearing Frame Elements
by lamprecht (Friar) on Apr 20, 2010 at 05:46 UTC
    Hi,

    You create a Tk::Button and define the required action using the -command option which takes an argument as described in Tk::callbacks

    Cheers, Christoph

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-11-28 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (194 votes), past polls