I have two things I can't figure out how to do. I'm using the the window to output status of a script that is running. Below I have my questions and the basic line of code I'm using.
$detailLog = $top_frame->Scrolled('Text', -scrollbars =>'e', -height=>6,-font=>'Helvetica 8 bold')->pack;
1. How do I disable keyboard input? So a user can't click the window and type stuff in? Not really a big deal I just can't find the answer.
2. How do I clear the existing text? For example the program runs and if the person wants to run again but with differnt parameters (without closing the window) they are stuck with the old output. I'd like to clear that from the window?