Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 ...

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 musing on the Monastery: (4)
As of 2016-10-23 09:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.