Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gtk.TextBuffer

Class Gtk.TextBuffer

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkTextBuffer
Class : TextBuffer
Extends: GObject.Object
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.targets_include_rich_text (Array targets, gint32 n_targets, TextBuffer buffer) : gboolean
Determines if any of the targets in targets can be used to
provide rich text.
Gtk.Clipboard
Method
request_rich_text (TextBuffer buffer, Function callback, void* user_data) : none
Requests the contents of the clipboard as rich text.
Gtk.Clipboard
Method
wait_for_rich_text (TextBuffer buffer, Object out_values) : String
Requests the contents of the clipboard as rich text.
Gtk.Clipboard
Method
wait_is_rich_text_available (TextBuffer buffer) : gboolean
Test to see if there is rich text available to be pasted
This is done by requesting the TARGETS atom and checking
if it contains any of the supported rich text targets.
Gtk.SelectionData
Method
targets_include_rich_text (TextBuffer buffer) : gboolean
Given a GtkSelectionData object holding a list of targets,
determines if any of the targets in targets can be used to
provide rich text.
Gtk.TargetList
Method
add_rich_text_targets (guint32 info, gboolean deserializable, TextBuffer buffer) : none
Appends the rich text targets registered with
gtk_text_buffer_register_serialize_format() or
gtk_text_buffer_register_deserialize_format() to the target list.
Gtk.TextIter
Method
get_buffer () : Gtk.TextBuffer
Returns the GtkTextBuffer this iterator is associated with.
Gtk.TextMark
Method
get_buffer () : Gtk.TextBuffer
Gets the buffer this mark is located inside,
or NULL if the mark is deleted.
Gtk.TextView
Property
buffer : Gtk.TextBuffer
Gtk.TextView
Method
new Gtk.TextView.with_buffer (TextBuffer buffer) : Gtk.Widget
Create a new Gtk.TextView
Gtk.TextView
Method
get_buffer () : Gtk.TextBuffer
Returns the GtkTextBuffer being displayed by this text view.
Gtk.TextView
Method
set_buffer (TextBuffer buffer) : none
Sets buffer as the buffer being displayed by text_view.
GtkSource.CompletionWords
Method
register (TextBuffer buffer) : none
GtkSource.CompletionWords
Method
unregister (TextBuffer buffer) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:14:03 GMT+0800 (HKT)