]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/tmpl/gtktextbuffer.sgml
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / tmpl / gtktextbuffer.sgml
index fcd641f8a9f4b1516e701ad968516b8c50369292..f7cfdef3561c1add277d02093287150e5cc7d752 100644 (file)
@@ -2,9 +2,7 @@
 GtkTextBuffer
 
 <!-- ##### SECTION Short_Description ##### -->
-
-Stores attributed text for display in a <link
-linkend="GtkTextView">GtkTextView</link>
+Stores attributed text for display in a GtkTextView
 
 <!-- ##### SECTION Long_Description ##### -->
 
@@ -23,6 +21,12 @@ types related to the text widget and how they work together.
 #GtkTextView, #GtkTextIter, #GtkTextMark
 </para>
 
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
 <!-- ##### STRUCT GtkTextBuffer ##### -->
 <para>
 
@@ -96,8 +100,6 @@ types related to the text widget and how they work together.
 @arg1: 
 @arg2: 
 @arg3: 
-<!-- # Unused Parameters # -->
-@arg4: 
 
 <!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
 <para>
@@ -123,6 +125,14 @@ types related to the text widget and how they work together.
 
 @textbuffer: the object which received the signal.
 
+<!-- ##### SIGNAL GtkTextBuffer::paste-done ##### -->
+<para>
+
+</para>
+
+@textbuffer: the object which received the signal.
+@arg1: 
+
 <!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### -->
 <para>
 
@@ -133,11 +143,36 @@ types related to the text widget and how they work together.
 @arg2: 
 @arg3: 
 
+<!-- ##### ARG GtkTextBuffer:copy-target-list ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTextBuffer:cursor-position ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTextBuffer:has-selection ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTextBuffer:paste-target-list ##### -->
+<para>
+
+</para>
+
 <!-- ##### ARG GtkTextBuffer:tag-table ##### -->
 <para>
 
 </para>
 
+<!-- ##### ARG GtkTextBuffer:text ##### -->
+<para>
+
+</para>
+
 <!-- ##### FUNCTION gtk_text_buffer_new ##### -->
 <para>
 
@@ -278,9 +313,6 @@ types related to the text widget and how they work together.
 @buffer: 
 @start: 
 @end: 
-<!-- # Unused Parameters # -->
-@start_iter: 
-@end_iter: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_delete_interactive ##### -->
@@ -295,6 +327,18 @@ types related to the text widget and how they work together.
 @Returns: 
 
 
+<!-- ##### FUNCTION gtk_text_buffer_backspace ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@iter: 
+@interactive: 
+@default_editable: 
+@Returns: 
+
+
 <!-- ##### FUNCTION gtk_text_buffer_set_text ##### -->
 <para>
 
@@ -315,9 +359,6 @@ types related to the text widget and how they work together.
 @end: 
 @include_hidden_chars: 
 @Returns: 
-<!-- # Unused Parameters # -->
-@start_iter: 
-@end_iter: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_get_slice ##### -->
@@ -330,9 +371,6 @@ types related to the text widget and how they work together.
 @end: 
 @include_hidden_chars: 
 @Returns: 
-<!-- # Unused Parameters # -->
-@start_iter: 
-@end_iter: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
@@ -397,6 +435,16 @@ types related to the text widget and how they work together.
 @where: 
 
 
+<!-- ##### FUNCTION gtk_text_buffer_add_mark ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@mark: 
+@where: 
+
+
 <!-- ##### FUNCTION gtk_text_buffer_delete_mark ##### -->
 <para>
 
@@ -443,6 +491,15 @@ types related to the text widget and how they work together.
 @Returns: 
 
 
+<!-- ##### FUNCTION gtk_text_buffer_get_has_selection ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@Returns: 
+
+
 <!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
 <para>
 
@@ -471,9 +528,6 @@ types related to the text widget and how they work together.
 @tag: 
 @start: 
 @end: 
-<!-- # Unused Parameters # -->
-@start_index: 
-@end_index: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
@@ -485,9 +539,6 @@ types related to the text widget and how they work together.
 @tag: 
 @start: 
 @end: 
-<!-- # Unused Parameters # -->
-@start_index: 
-@end_index: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
@@ -499,9 +550,6 @@ types related to the text widget and how they work together.
 @name: 
 @start: 
 @end: 
-<!-- # Unused Parameters # -->
-@start_index: 
-@end_index: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
@@ -513,9 +561,6 @@ types related to the text widget and how they work together.
 @name: 
 @start: 
 @end: 
-<!-- # Unused Parameters # -->
-@start_index: 
-@end_index: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_remove_all_tags ##### -->
@@ -668,9 +713,6 @@ types related to the text widget and how they work together.
 @clipboard: 
 @override_location: 
 @default_editable: 
-<!-- # Unused Parameters # -->
-@time_: 
-@interactive: 
 
 
 <!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->
@@ -737,3 +779,196 @@ types related to the text widget and how they work together.
 @clipboard: 
 
 
+<!-- ##### ENUM GtkTextBufferTargetInfo ##### -->
+<para>
+
+</para>
+
+@GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS: 
+@GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT: 
+@GTK_TEXT_BUFFER_TARGET_INFO_TEXT: 
+
+<!-- ##### USER_FUNCTION GtkTextBufferDeserializeFunc ##### -->
+<para>
+A function that is called to deserialize rich text that has been
+serialized with gtk_text_buffer_serialize(), and insert it at @iter.
+</para>
+
+@register_buffer: the #GtkTextBuffer the format is registered with
+@content_buffer: the #GtkTextBuffer to deserialize into
+@iter: insertion point for the deserialized text
+@data: data to deserialize
+@length: length of %data
+@create_tags: %TRUE if deserializing may create tags
+@user_data: user data that was specified when registering the format
+@error: return location for a #GError
+@Returns: %TRUE on success, %FALSE otherwise
+
+
+<!-- ##### FUNCTION gtk_text_buffer_deserialize ##### -->
+<para>
+
+</para>
+
+@register_buffer: 
+@content_buffer: 
+@format: 
+@iter: 
+@data: 
+@length: 
+@error: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_deserialize_get_can_create_tags ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@format: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_deserialize_set_can_create_tags ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@format: 
+@can_create_tags: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_get_copy_target_list ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_get_deserialize_formats ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@n_formats: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_get_paste_target_list ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_get_serialize_formats ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@n_formats: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_register_deserialize_format ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@mime_type: 
+@function: 
+@user_data: 
+@user_data_destroy: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_register_deserialize_tagset ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@tagset_name: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_register_serialize_format ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@mime_type: 
+@function: 
+@user_data: 
+@user_data_destroy: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_register_serialize_tagset ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@tagset_name: 
+@Returns: 
+
+
+<!-- ##### USER_FUNCTION GtkTextBufferSerializeFunc ##### -->
+<para>
+A function that is called to serialize the content of a text buffer.
+It must return the serialized form of the content.
+</para>
+
+@register_buffer: the #GtkTextBuffer for which the format is registered
+@content_buffer: the #GtkTextsBuffer to serialize
+@start: start of the block of text to serialize
+@end: end of the block of text to serialize
+@length: Return location for the length of the serialized data
+@user_data: user data that was specified when registering the format
+@Returns: a newly-allocated array of guint8 which contains the serialized
+          data, or %NULL if an error occurred
+
+
+<!-- ##### FUNCTION gtk_text_buffer_serialize ##### -->
+<para>
+
+</para>
+
+@register_buffer: 
+@content_buffer: 
+@format: 
+@start: 
+@end: 
+@length: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_unregister_deserialize_format ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@format: 
+
+
+<!-- ##### FUNCTION gtk_text_buffer_unregister_serialize_format ##### -->
+<para>
+
+</para>
+
+@buffer: 
+@format: 
+
+