Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 sharing their wisdom with the Monastery: (7)
As of 2024-09-18 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (24 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.