In Files

  • tk/lib/tk/text.rb

Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Tk::Text::IndexString

Public Class Methods

at(x,y) click to toggle source
 
               # File tk/lib/tk/text.rb, line 237
def self.at(x,y)
  self.new("@#{x},#{y}")
end
            
new(str) click to toggle source
 
               # File tk/lib/tk/text.rb, line 241
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 251
def id
  self
end