22 #ifndef __GTK_TEXT_BUFFER_RICH_TEXT_H__
23 #define __GTK_TEXT_BUFFER_RICH_TEXT_H__
25 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
26 #error "Only <gtk/gtk.h> can be included directly."
33 typedef guint8 * (* GtkTextBufferSerializeFunc) (
GtkTextBuffer *register_buffer,
49 const gchar *mime_type,
52 GDestroyNotify user_data_destroy);
54 const gchar *tagset_name);
57 const gchar *mime_type,
60 GDestroyNotify user_data_destroy);
62 const gchar *tagset_name);
71 gboolean can_create_tags);
struct _GdkAtom * GdkAtom
GdkAtom gtk_text_buffer_register_deserialize_tagset(GtkTextBuffer *buffer, const gchar *tagset_name)
GdkAtom gtk_text_buffer_register_serialize_format(GtkTextBuffer *buffer, const gchar *mime_type, GtkTextBufferSerializeFunc function, gpointer user_data, GDestroyNotify user_data_destroy)
gboolean gtk_text_buffer_deserialize_get_can_create_tags(GtkTextBuffer *buffer, GdkAtom format)
GdkAtom gtk_text_buffer_register_deserialize_format(GtkTextBuffer *buffer, const gchar *mime_type, GtkTextBufferDeserializeFunc function, gpointer user_data, GDestroyNotify user_data_destroy)
gboolean gtk_text_buffer_deserialize(GtkTextBuffer *register_buffer, GtkTextBuffer *content_buffer, GdkAtom format, GtkTextIter *iter, const guint8 *data, gsize length, GError **error)
G_BEGIN_DECLS typedef guint8 *(* GtkTextBufferSerializeFunc)(GtkTextBuffer *register_buffer, GtkTextBuffer *content_buffer, const GtkTextIter *start, const GtkTextIter *end, gsize *length, gpointer user_data)
GdkAtom gtk_text_buffer_register_serialize_tagset(GtkTextBuffer *buffer, const gchar *tagset_name)
void gtk_text_buffer_deserialize_set_can_create_tags(GtkTextBuffer *buffer, GdkAtom format, gboolean can_create_tags)
guint8 * gtk_text_buffer_serialize(GtkTextBuffer *register_buffer, GtkTextBuffer *content_buffer, GdkAtom format, const GtkTextIter *start, const GtkTextIter *end, gsize *length)
GdkAtom * gtk_text_buffer_get_serialize_formats(GtkTextBuffer *buffer, gint *n_formats)
gboolean(* GtkTextBufferDeserializeFunc)(GtkTextBuffer *register_buffer, GtkTextBuffer *content_buffer, GtkTextIter *iter, const guint8 *data, gsize length, gboolean create_tags, gpointer user_data, GError **error)
GdkAtom * gtk_text_buffer_get_deserialize_formats(GtkTextBuffer *buffer, gint *n_formats)
void gtk_text_buffer_unregister_deserialize_format(GtkTextBuffer *buffer, GdkAtom format)
void gtk_text_buffer_unregister_serialize_format(GtkTextBuffer *buffer, GdkAtom format)
typedefG_BEGIN_DECLS struct _GtkTextIter GtkTextIter
PBD::PropertyDescriptor< timecnt_t > length
PBD::PropertyDescriptor< timepos_t > start