Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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
Replies are listed 'Best First'.
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 browsing the Monastery: (8)
As of 2015-07-08 06:37 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 (94 votes), past polls