open and saveing files
"jeevitesh" <[email protected]> 16 Sep 2006 12:39:41 -0000
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Dear friends,
I need you help to open the file in the text area and save contents
of the corresponding Text area. I have used this following code which call
separately subroutines when corresponding button are pressed. But the problem
with this code is two windows are generated but it will not save or open the
selected files.
sub openfiles()
{
$top = new
MainWindow;
$top->getOpenFile;
}
sub savefile()
{
$top = new
MainWindow;
$top->getSaveFile;
}
With regards
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk