# # tktext.rb - Tk text classes # $Date$ # by Yukihiro Matsumoto require 'tk.rb' class TkText", id @t._addcmd cmd end def raise(above=None) tk_call @t.path, 'tag', 'raise', @id, above end def lower(below=None) tk_call @t.path, 'tag', 'lower', @id, below end def destroy tk_call @t.path, 'tag', 'delete', @id end end class TkTextTagSel