P is for Practical | |
PerlMonks |
Re^4: Perl-Tk Notebook - add a new tab to exisitng $mwby shankar.chandra (Initiate) |
on Sep 20, 2016 at 16:32 UTC ( [id://1172226]=note: print w/replies, xml ) | Need Help?? |
Hi, first thanks for your replies. It helps me to move ahead instead stagnant. But then, I get errors like
XStoSubCmd: Not a Tk Window Tk::die_with_trace at /perl_install/lib/Tk/Submethods.pm line 37 Tk::MainWindow=HASH(0xa56e270) is not a widget I did a miniature of my code to get a 'hello' success:I run this with $window->Label(-text=>"Hello 1")->pack(); and then $window->Label(-text=>"Hello 2")->pack(); to print bothe Hello 1 and 2 in the same window, but I get errors on second run.
with trial and error , 300+ google clicks etc makes me a bit tierd. I want to give up but then quite sure this cannot be that difficult to do, but could be i am making it difficult ? help?
In Section
Seekers of Perl Wisdom
|
|