GtkSourceView 3 Reference Manual: GtkSourceGutterRendererText

## GtkSourceGutterRendererText GtkSourceGutterRendererText |

## Synopsis

    #include <gtksourceview/gtksource.h>

                        GtkSourceGutterRendererText;
    GtkSourceGutterRenderer * gtk_source_gutter_renderer_text_new
                                                            (void);
    void                gtk_source_gutter_renderer_text_set_markup
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *markup,
                                                             gint length);
    void                gtk_source_gutter_renderer_text_set_text
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *text,
                                                             gint length);
    void                gtk_source_gutter_renderer_text_measure
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *text,
                                                             gint *width,
                                                             gint *height);
    void                gtk_source_gutter_renderer_text_measure_markup
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *markup,
                                                             gint *width,
                                                             gint *height);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkSourceGutterRenderer
                   +----GtkSourceGutterRendererText

## Properties

      "markup"                   gchar*                : Read / Write / Construct
      "text"                     gchar*                : Read / Write / Construct

## Description

## Details

### GtkSourceGutterRendererText

    typedef struct _GtkSourceGutterRendererText GtkSourceGutterRendererText;

### gtk_source_gutter_renderer_text_new ()

    GtkSourceGutterRenderer * gtk_source_gutter_renderer_text_new
                                                            (void);

Create a new GtkSourceGutterRendererText.

Returns : | A GtkSourceGutterRenderer. [transfer full]

### gtk_source_gutter_renderer_text_set_markup ()

    void                gtk_source_gutter_renderer_text_set_markup
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *markup,
                                                             gint length);

### gtk_source_gutter_renderer_text_set_text ()

    void                gtk_source_gutter_renderer_text_set_text
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *text,
                                                             gint length);

### gtk_source_gutter_renderer_text_measure ()

    void                gtk_source_gutter_renderer_text_measure
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *text,
                                                             gint *width,
                                                             gint *height);

### gtk_source_gutter_renderer_text_measure_markup ()

    void                gtk_source_gutter_renderer_text_measure_markup
                                                            (GtkSourceGutterRendererText *renderer,
                                                             const gchar *markup,
                                                             gint *width,
                                                             gint *height);

## Property Details

### The `"markup"` property

      "markup"                   gchar*                : Read / Write / Construct

The markup.

Default value: NULL

### The `"text"` property

      "text"                     gchar*                : Read / Write / Construct

The text.

Default value: NULL