From: Jun Young Kim Date: 2008-12-17T10:59:08+09:00 Subject: Ruby Tk (make available of a single pointer(marker) of TkText) Hi, Now, I am trying to make simple Diff-viewer by using Ruby Tk. But, I have a problems to show a pointer(cursor) on the TkText panel. Simply, you can understand my case in the following code pattern. @leftText = TkText.new(leftFrame) do padx 0 borderwidth 0 background 'white' state 'normal' end @rightText = TkText.new(rightFrame) do padx 0 borderwidth 0 background 'white' state 'normal' end Create both of TkText instances to show a diff of sources. After inserting a source into TkText panel, I set @leftText['state'] = :disabled @rightText['state'] = :disabled I know, this two lines make uncursored panel. But, without this lines, panel is modifiable. Users can delete and insert their own texts. Is any idea for this ?