Class: TkTextWin (Ruby 2.3.4)

In Files

  • tk/lib/tk/txtwin_abst.rb

Class/Module Index [+]

Quicksearch

TkTextWin

Constants

TkCommandNames

Public Instance Methods

bbox(index)

def create_self

fail RuntimeError, "TkTextWin is an abstract class"

end private :create_self

 
               # File tk/lib/tk/txtwin_abst.rb, line 14
def bbox(index)
  list(tk_send_without_enc('bbox', index))
end
            
delete(first, last=None)
 
               # File tk/lib/tk/txtwin_abst.rb, line 17
def delete(first, last=None)
  tk_send_without_enc('delete', first, last)
  self
end
            
get(*index)
 
               # File tk/lib/tk/txtwin_abst.rb, line 21
def get(*index)
  _fromUTF8(tk_send_without_enc('get', *index))
end
            
insert(index, *args)
 
               # File tk/lib/tk/txtwin_abst.rb, line 24
def insert(index, *args)
  tk_send('insert', index, *args)
  self
end
            
scan_dragto(x, y)
 
               # File tk/lib/tk/txtwin_abst.rb, line 32
def scan_dragto(x, y)
  tk_send_without_enc('scan', 'dragto', x, y)
  self
end
            
scan_mark(x, y)
 
               # File tk/lib/tk/txtwin_abst.rb, line 28
def scan_mark(x, y)
  tk_send_without_enc('scan', 'mark', x, y)
  self
end
            
see(index)
 
               # File tk/lib/tk/txtwin_abst.rb, line 36
def see(index)
  tk_send_without_enc('see', index)
  self
end