Class: Clutter::TextBuffer

Inherits:
Object
  • Object
show all
Defined in:
lib/clutter/text-buffer.rb

Instance Method Summary collapse

Instance Method Details

#emit_inserted_text(position, string) ⇒ Object



32
33
34
# File 'lib/clutter/text-buffer.rb', line 32

def emit_inserted_text(position, string)
  emit_inserted_text_raw(position, string, string.length)
end

#emit_inserted_text_rawObject



21
# File 'lib/clutter/text-buffer.rb', line 21

alias_method :emit_inserted_text_raw, :emit_inserted_text

#insert_text(position, string) ⇒ Object



28
29
30
# File 'lib/clutter/text-buffer.rb', line 28

def insert_text(position, string)
  insert_text_raw(position, string, string.length)
end

#insert_text_rawObject



20
# File 'lib/clutter/text-buffer.rb', line 20

alias_method :insert_text_raw, :insert_text

#set_text(string) ⇒ Object Also known as: text=



23
24
25
# File 'lib/clutter/text-buffer.rb', line 23

def set_text(string)
  set_text_raw(string, string.length)
end

#set_text_rawObject



19
# File 'lib/clutter/text-buffer.rb', line 19

alias_method :set_text_raw, :set_text