Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

couple of Tk questions

by martymart (Deacon)
on May 20, 2003 at 15:17 UTC ( [id://259480]=perlquestion: print w/replies, xml ) Need Help??

martymart has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I'm on windows 2000 using activestate Perl. I have two Tk related questions really:
1. I have a a segment of code:

my $exit=$mw->Button(-text=>'Exit',-underline=>'3',-command=>[$mw=>'de +stroy']);
This brings up the button with 'Exit' in it as expected, however 'alt-t' doesn't seem to work (clicking on the button does work & so does tabbing to it). Is this to be expected, or is there a change I could make to the Tk::Button module to rectify this? 2. Does any monk know of a way to change the actual 'TK' icon that appears in the top-left corner of a dialog created with Tk. Has anybody done this? I'd be interested to hear how it was done.

Many Thanks
Martymart

Replies are listed 'Best First'.
Re: couple of Tk questions
by Mr. Muskrat (Canon) on May 20, 2003 at 15:38 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found