Top |
GObject ╰── GInitiallyUnowned ╰── GtkSourceGutterRenderer ╰── GtkSourceGutterRendererText
GtkSourceGutterRenderer *
gtk_source_gutter_renderer_text_new (void
);
Create a new GtkSourceGutterRendererText.
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
);
Measures the text provided using the pango layout used by the GtkSourceGutterRendererText.
void gtk_source_gutter_renderer_text_measure_markup (GtkSourceGutterRendererText *renderer
,const gchar *markup
,gint *width
,gint *height
);
Measures the pango markup provided using the pango layout used by the GtkSourceGutterRendererText.