Help for this page

Select Code to Download


  1. or download this
    my $textbox = $mw->Text( 
        -wrap => 'word',
    ...
    sub initialize {
        $textbox->insert("1.0", $long_text);
    }
    
  2. or download this
        -wrap => 'none' .... Don't do any wrapping at all
        -wrap => 'char' .... Wrap between characters
        -wrap => 'word' .... Wrap between words