open and saving files
"jeevitesh" <[email protected]> 16 Sep 2006 20:40:23 -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 savefile()
{
$top = new MainWindow;
$top->getSaveFile;
}
sub openfiles()
{
$top = new MainWindow;
$top->getOpenFile;
}
With regards
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk