I am creating a TK widget with a TK::Text textbox. 

I want to set the default text value as "hi" like this 

$txt = $mw->Text(
                 # -data =>"hi",              # This does not work 
                 -width => '10', 
                   -height => '10')->pack;


But this is not working. Any clues ? 

Thanks
Ram



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to