GimpTextBuffer-serialize

GimpTextBuffer-serialize

Synopsis

#define             WORD_JOINER
#define             WORD_JOINER_LENGTH
gboolean            gimp_text_buffer_deserialize        (GtkTextBuffer *register_buffer,
                                                         GtkTextBuffer *content_buffer,
                                                         GtkTextIter *iter,
                                                         const guint8 *data,
                                                         gsize length,
                                                         gboolean create_tags,
                                                         gpointer user_data,
                                                         GError **error);
void                gimp_text_buffer_post_deserialize   (GimpTextBuffer *buffer,
                                                         GtkTextBuffer *content);
void                gimp_text_buffer_pre_serialize      (GimpTextBuffer *buffer,
                                                         GtkTextBuffer *content);
guint8 *            gimp_text_buffer_serialize          (GtkTextBuffer *register_buffer,
                                                         GtkTextBuffer *content_buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gsize *length,
                                                         gpointer user_data);

Description

Details

WORD_JOINER

#define WORD_JOINER        "\342\201\240"


WORD_JOINER_LENGTH

#define WORD_JOINER_LENGTH 3


gimp_text_buffer_deserialize ()

gboolean            gimp_text_buffer_deserialize        (GtkTextBuffer *register_buffer,
                                                         GtkTextBuffer *content_buffer,
                                                         GtkTextIter *iter,
                                                         const guint8 *data,
                                                         gsize length,
                                                         gboolean create_tags,
                                                         gpointer user_data,
                                                         GError **error);


gimp_text_buffer_post_deserialize ()

void                gimp_text_buffer_post_deserialize   (GimpTextBuffer *buffer,
                                                         GtkTextBuffer *content);


gimp_text_buffer_pre_serialize ()

void                gimp_text_buffer_pre_serialize      (GimpTextBuffer *buffer,
                                                         GtkTextBuffer *content);


gimp_text_buffer_serialize ()

guint8 *            gimp_text_buffer_serialize          (GtkTextBuffer *register_buffer,
                                                         GtkTextBuffer *content_buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gsize *length,
                                                         gpointer user_data);