in reply to Perl Tk Multiple Notebook Editing and Save

You might want to look at ztkdb where I save multiple text widgets in different tabs. The basic idea is to make a hash for each tab, and store the associated text widget object in the tab's hash entry. Then to save them all, you do something like this:
foreach my $tabname(keys %tabs){ my $savetxt = $tabs{$tabname}{'textbox'}->get("1.0","end"); chomp $savetxt; # now save it wherever you want, open a file or write to a databa +se.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Perl Tk Multiple Notebook Editing and Save
by akamboj84 (Novice) on Oct 08, 2014 at 05:48 UTC

    Great, thanks that works for me, as you suggested created hash for tabs and associated them with textbox and now i am able to edit and save them