Sha256: e1faf4f5dace659c20c021eb3b13ecbbb1ec68e12e87e696c006ce42c2b035e7

Contents?: true

Size: 785 Bytes

Versions: 6

Compression:

Stored size: 785 Bytes

Contents

#
# tk/txtwin_abst.rb : TkTextWin abstruct class
#
require 'tk'

class TkTextWin<TkWindow
  TkCommandNames = [].freeze
  #def create_self
  #  fail RuntimeError, "TkTextWin is an abstract class"
  #end
  #private :create_self

  def bbox(index)
    list(tk_send_without_enc('bbox', index))
  end
  def delete(first, last=None)
    tk_send_without_enc('delete', first, last)
    self
  end
  def get(*index)
    _fromUTF8(tk_send_without_enc('get', *index))
  end
  def insert(index, *args)
    tk_send('insert', index, *args)
    self
  end
  def scan_mark(x, y)
    tk_send_without_enc('scan', 'mark', x, y)
    self
  end
  def scan_dragto(x, y)
    tk_send_without_enc('scan', 'dragto', x, y)
    self
  end
  def see(index)
    tk_send_without_enc('see', index)
    self
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tk-win-0.2.2-x86-mingw32 lib/tk/txtwin_abst.rb
tk-win-0.2.1-x86-mingw32 lib/tk/txtwin_abst.rb
tk-win-0.2.0-x86-mingw32 lib/tk/txtwin_abst.rb
tk_as_gem-0.1.0 ext/lib/tk/txtwin_abst.rb
tk_as_gem-0.0.1 ext/lib/tk/txtwin_abst.rb
tk_as_gem-0.0.0 ext/lib/tk/txtwin_abst.rb