In Files

  • tk/lib/tk/text.rb

Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

TkText::IndexString

Public Class Methods

at(x,y) click to toggle source
 
               # File tk/lib/tk/text.rb, line 226
def self.at(x,y)
  self.new("@#{x},#{y}")
end
            
new(str) click to toggle source
 
               # File tk/lib/tk/text.rb, line 230
def self.new(str)
  if str.kind_of?(String)
    super(str)
  elsif str.kind_of?(Symbol)
    super(str.to_s)
  else
    str
  end
end
            

Public Instance Methods

id() click to toggle source
 
               # File tk/lib/tk/text.rb, line 240
def id
  self
end