Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tk/txtwin_abst.rb

Class/Module Index [+]

Quicksearch

TkTextWin

Constants

TkCommandNames

Public Instance Methods

bbox(index) click to toggle source

def create_self

fail RuntimeError, "TkTextWin is an abstract class"

end private :create_self

 
               # File tk/lib/tk/txtwin_abst.rb, line 13
def bbox(index)
  list(tk_send_without_enc('bbox', index))
end
            
delete(first, last=None) click to toggle source
 
               # File tk/lib/tk/txtwin_abst.rb, line 16
def delete(first, last=None)
  tk_send_without_enc('delete', first, last)
  self
end
            
get(*index) click to toggle source
 
               # File tk/lib/tk/txtwin_abst.rb, line 20
def get(*index)
  _fromUTF8(tk_send_without_enc('get', *index))
end
            
insert(index, *args) click to toggle source
 
               # File tk/lib/tk/txtwin_abst.rb, line 23
def insert(index, *args)
  tk_send('insert', index, *args)
  self
end
            
scan_dragto(x, y) click to toggle source
 
               # File tk/lib/tk/txtwin_abst.rb, line 31
def scan_dragto(x, y)
  tk_send_without_enc('scan', 'dragto', x, y)
  self
end
            
scan_mark(x, y) click to toggle source
 
               # File tk/lib/tk/txtwin_abst.rb, line 27
def scan_mark(x, y)
  tk_send_without_enc('scan', 'mark', x, y)
  self
end
            
see(index) click to toggle source
 
               # File tk/lib/tk/txtwin_abst.rb, line 35
def see(index)
  tk_send_without_enc('see', index)
  self
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.