Class: Clutter::TextBuffer
- Inherits:
-
Object
- Object
- Clutter::TextBuffer
- Defined in:
- lib/clutter/text-buffer.rb
Instance Method Summary collapse
- #emit_inserted_text(position, string) ⇒ Object
- #emit_inserted_text_raw ⇒ Object
- #insert_text(position, string) ⇒ Object
- #insert_text_raw ⇒ Object
- #set_text(string) ⇒ Object (also: #text=)
- #set_text_raw ⇒ Object
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_raw ⇒ Object
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_raw ⇒ Object
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_raw ⇒ Object
19 |
# File 'lib/clutter/text-buffer.rb', line 19 alias_method :set_text_raw, :set_text |