Support for the Ruby 2.3 series has ended. See here for reference.

In Files

  • tk/lib/tk/text.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Tk::Text::Peer

Public Class Methods

new(text, parent=nil, keys={}) click to toggle source

Tk8.5 feature

 
               # File tk/lib/tk/text.rb, line 1587
def initialize(text, parent=nil, keys={})
  unless text.kind_of?(Tk::Text)
    fail ArgumentError, "Tk::Text is expected for 1st argument"
  end
  @src_text = text
  super(parent, keys)
end