Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

getSaveFile - Perl Tk

by Anonymous Monk
on Apr 06, 2006 at 21:45 UTC ( #541745=perlquestion: print w/replies, xml ) Need Help??

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

Hello, it seems the initialfile option in getSaveFile is not working. I put in test and was hoping the word would appear in the GUI. Here's the code:

use Tk; $mw=MainWindow->new; my $save = $mw->getSaveFile(-title=>'TEST',-initialfile=>'test');

Edit: g0n - code tags

Replies are listed 'Best First'.
Re: getSaveFile - Perl Tk
by PodMaster (Abbot) on Apr 07, 2006 at 03:17 UTC
    Works for me.
    perl, v5.8.4 built for MSWin32-x86-multi-thread
    Tk 804.027

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: getSaveFile - Perl Tk
by zentara (Archbishop) on Apr 07, 2006 at 12:06 UTC
    Works for me too under linux. What versions of Perl and Tk are you using? Maybe it's time to upgrade.

    I'm not really a human, but I play one on earth. flash japh
Re: getSaveFile - Perl Tk
by Anonymous Monk on Oct 04, 2013 at 08:56 UTC
    hello , its not working for me...i am not able to see the saved file in my system...

      hello , its not working for me...i am not able to see the saved file in my system...

      The posted code doesn't create a file, so what are you talking about?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-01-25 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?