GimpTextBuffer

GimpTextBuffer

Synopsis

                    GimpTextBuffer;
struct              GimpTextBufferClass;
void                gimp_text_buffer_change_baseline    (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);
void                gimp_text_buffer_change_kerning     (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);
void                gimp_text_buffer_change_size        (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint amount);
void                gimp_text_buffer_clear_insert_tags  (GimpTextBuffer *buffer);
void                gimp_text_buffer_get_iter_at_index  (GimpTextBuffer *buffer,
                                                         GtkTextIter *iter,
                                                         gint index,
                                                         gboolean layout_index);
GtkTextTag *        gimp_text_buffer_get_iter_baseline  (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gint *baseline);
GtkTextTag *        gimp_text_buffer_get_iter_color     (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         GimpRGB *color);
GtkTextTag *        gimp_text_buffer_get_iter_font      (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gchar **font);
gint                gimp_text_buffer_get_iter_index     (GimpTextBuffer *buffer,
                                                         GtkTextIter *iter,
                                                         gboolean layout_index);
GtkTextTag *        gimp_text_buffer_get_iter_kerning   (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gint *kerning);
GtkTextTag *        gimp_text_buffer_get_iter_size      (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gint *size);
gchar *             gimp_text_buffer_get_markup         (GimpTextBuffer *buffer);
gchar *             gimp_text_buffer_get_text           (GimpTextBuffer *buffer);
gboolean            gimp_text_buffer_has_markup         (GimpTextBuffer *buffer);
void                gimp_text_buffer_insert             (GimpTextBuffer *buffer,
                                                         const gchar *text);
gboolean            gimp_text_buffer_load               (GimpTextBuffer *buffer,
                                                         const gchar *filename,
                                                         GError **error);
GtkTextTag *        gimp_text_buffer_name_to_tag        (GimpTextBuffer *buffer,
                                                         const gchar *name,
                                                         const gchar *attribute,
                                                         const gchar *value);
GimpTextBuffer *    gimp_text_buffer_new                (void);
gboolean            gimp_text_buffer_save               (GimpTextBuffer *buffer,
                                                         const gchar *filename,
                                                         gboolean selection_only,
                                                         GError **error);
void                gimp_text_buffer_set_baseline       (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);
void                gimp_text_buffer_set_color          (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         const GimpRGB *color);
void                gimp_text_buffer_set_font           (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         const gchar *font);
void                gimp_text_buffer_set_insert_tags    (GimpTextBuffer *buffer,
                                                         GList *insert_tags,
                                                         GList *remove_tags);
void                gimp_text_buffer_set_kerning        (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);
void                gimp_text_buffer_set_markup         (GimpTextBuffer *buffer,
                                                         const gchar *markup);
void                gimp_text_buffer_set_size           (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint size);
void                gimp_text_buffer_set_text           (GimpTextBuffer *buffer,
                                                         const gchar *text);
const gchar *       gimp_text_buffer_tag_to_name        (GimpTextBuffer *buffer,
                                                         GtkTextTag *tag,
                                                         const gchar **attribute,
                                                         gchar **value);

Object Hierarchy

  GObject
   +----GtkTextBuffer
         +----GimpTextBuffer

Description

Details

GimpTextBuffer

typedef struct _GimpTextBuffer GimpTextBuffer;


struct GimpTextBufferClass

struct GimpTextBufferClass {
  GtkTextBufferClass  parent_class;
};


gimp_text_buffer_change_baseline ()

void                gimp_text_buffer_change_baseline    (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);


gimp_text_buffer_change_kerning ()

void                gimp_text_buffer_change_kerning     (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);


gimp_text_buffer_change_size ()

void                gimp_text_buffer_change_size        (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint amount);


gimp_text_buffer_clear_insert_tags ()

void                gimp_text_buffer_clear_insert_tags  (GimpTextBuffer *buffer);


gimp_text_buffer_get_iter_at_index ()

void                gimp_text_buffer_get_iter_at_index  (GimpTextBuffer *buffer,
                                                         GtkTextIter *iter,
                                                         gint index,
                                                         gboolean layout_index);


gimp_text_buffer_get_iter_baseline ()

GtkTextTag *        gimp_text_buffer_get_iter_baseline  (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gint *baseline);


gimp_text_buffer_get_iter_color ()

GtkTextTag *        gimp_text_buffer_get_iter_color     (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         GimpRGB *color);


gimp_text_buffer_get_iter_font ()

GtkTextTag *        gimp_text_buffer_get_iter_font      (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gchar **font);


gimp_text_buffer_get_iter_index ()

gint                gimp_text_buffer_get_iter_index     (GimpTextBuffer *buffer,
                                                         GtkTextIter *iter,
                                                         gboolean layout_index);


gimp_text_buffer_get_iter_kerning ()

GtkTextTag *        gimp_text_buffer_get_iter_kerning   (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gint *kerning);


gimp_text_buffer_get_iter_size ()

GtkTextTag *        gimp_text_buffer_get_iter_size      (GimpTextBuffer *buffer,
                                                         const GtkTextIter *iter,
                                                         gint *size);


gimp_text_buffer_get_markup ()

gchar *             gimp_text_buffer_get_markup         (GimpTextBuffer *buffer);


gimp_text_buffer_get_text ()

gchar *             gimp_text_buffer_get_text           (GimpTextBuffer *buffer);


gimp_text_buffer_has_markup ()

gboolean            gimp_text_buffer_has_markup         (GimpTextBuffer *buffer);


gimp_text_buffer_insert ()

void                gimp_text_buffer_insert             (GimpTextBuffer *buffer,
                                                         const gchar *text);


gimp_text_buffer_load ()

gboolean            gimp_text_buffer_load               (GimpTextBuffer *buffer,
                                                         const gchar *filename,
                                                         GError **error);


gimp_text_buffer_name_to_tag ()

GtkTextTag *        gimp_text_buffer_name_to_tag        (GimpTextBuffer *buffer,
                                                         const gchar *name,
                                                         const gchar *attribute,
                                                         const gchar *value);


gimp_text_buffer_new ()

GimpTextBuffer *    gimp_text_buffer_new                (void);


gimp_text_buffer_save ()

gboolean            gimp_text_buffer_save               (GimpTextBuffer *buffer,
                                                         const gchar *filename,
                                                         gboolean selection_only,
                                                         GError **error);


gimp_text_buffer_set_baseline ()

void                gimp_text_buffer_set_baseline       (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);


gimp_text_buffer_set_color ()

void                gimp_text_buffer_set_color          (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         const GimpRGB *color);


gimp_text_buffer_set_font ()

void                gimp_text_buffer_set_font           (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         const gchar *font);


gimp_text_buffer_set_insert_tags ()

void                gimp_text_buffer_set_insert_tags    (GimpTextBuffer *buffer,
                                                         GList *insert_tags,
                                                         GList *remove_tags);


gimp_text_buffer_set_kerning ()

void                gimp_text_buffer_set_kerning        (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint count);


gimp_text_buffer_set_markup ()

void                gimp_text_buffer_set_markup         (GimpTextBuffer *buffer,
                                                         const gchar *markup);


gimp_text_buffer_set_size ()

void                gimp_text_buffer_set_size           (GimpTextBuffer *buffer,
                                                         const GtkTextIter *start,
                                                         const GtkTextIter *end,
                                                         gint size);


gimp_text_buffer_set_text ()

void                gimp_text_buffer_set_text           (GimpTextBuffer *buffer,
                                                         const gchar *text);


gimp_text_buffer_tag_to_name ()

const gchar *       gimp_text_buffer_tag_to_name        (GimpTextBuffer *buffer,
                                                         GtkTextTag *tag,
                                                         const gchar **attribute,
                                                         gchar **value);