Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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
Replies are listed 'Best First'.
Re: Perl Tk : Clearing Frame Elements
by lamprecht (Friar) on Apr 20, 2010 at 05:46 UTC

    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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2015-11-29 05:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (747 votes), past polls