1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A tag that can be applied to text in a GtkTextBuffer
7 <!-- ##### SECTION Long_Description ##### -->
9 You may wish to begin by reading the <link linkend="TextWidget">text widget
10 conceptual overview</link> which gives an overview of all the objects and data
11 types related to the text widget and how they work together.
15 Tags should be in the #GtkTextTagTable for a given #GtkTextBuffer
16 before using them with that buffer.
20 gtk_text_buffer_create_tag() is the best way to create tags.
21 See <application>gtk-demo</application> for numerous examples.
25 The "invisible" property was not implemented for GTK+ 2.0.
26 It is working (with minor issues) since 2.8.
29 <!-- ##### SECTION See_Also ##### -->
34 <!-- ##### SECTION Stability_Level ##### -->
37 <!-- ##### SECTION Image ##### -->
40 <!-- ##### STRUCT GtkTextTag ##### -->
46 <!-- ##### SIGNAL GtkTextTag::event ##### -->
51 @texttag: the object which received the signal.
57 <!-- ##### ARG GtkTextTag:accumulative-margin ##### -->
62 <!-- ##### ARG GtkTextTag:background ##### -->
67 <!-- ##### ARG GtkTextTag:background-full-height ##### -->
72 <!-- ##### ARG GtkTextTag:background-full-height-set ##### -->
77 <!-- ##### ARG GtkTextTag:background-gdk ##### -->
82 <!-- ##### ARG GtkTextTag:background-set ##### -->
87 <!-- ##### ARG GtkTextTag:background-stipple ##### -->
92 <!-- ##### ARG GtkTextTag:background-stipple-set ##### -->
97 <!-- ##### ARG GtkTextTag:direction ##### -->
102 <!-- ##### ARG GtkTextTag:editable ##### -->
107 <!-- ##### ARG GtkTextTag:editable-set ##### -->
112 <!-- ##### ARG GtkTextTag:family ##### -->
117 <!-- ##### ARG GtkTextTag:family-set ##### -->
122 <!-- ##### ARG GtkTextTag:font ##### -->
127 <!-- ##### ARG GtkTextTag:font-desc ##### -->
132 <!-- ##### ARG GtkTextTag:foreground ##### -->
137 <!-- ##### ARG GtkTextTag:foreground-gdk ##### -->
142 <!-- ##### ARG GtkTextTag:foreground-set ##### -->
147 <!-- ##### ARG GtkTextTag:foreground-stipple ##### -->
152 <!-- ##### ARG GtkTextTag:foreground-stipple-set ##### -->
157 <!-- ##### ARG GtkTextTag:indent ##### -->
162 <!-- ##### ARG GtkTextTag:indent-set ##### -->
167 <!-- ##### ARG GtkTextTag:invisible ##### -->
172 <!-- ##### ARG GtkTextTag:invisible-set ##### -->
177 <!-- ##### ARG GtkTextTag:justification ##### -->
182 <!-- ##### ARG GtkTextTag:justification-set ##### -->
187 <!-- ##### ARG GtkTextTag:language ##### -->
192 <!-- ##### ARG GtkTextTag:language-set ##### -->
197 <!-- ##### ARG GtkTextTag:left-margin ##### -->
202 <!-- ##### ARG GtkTextTag:left-margin-set ##### -->
207 <!-- ##### ARG GtkTextTag:name ##### -->
212 <!-- ##### ARG GtkTextTag:paragraph-background ##### -->
217 <!-- ##### ARG GtkTextTag:paragraph-background-gdk ##### -->
222 <!-- ##### ARG GtkTextTag:paragraph-background-set ##### -->
227 <!-- ##### ARG GtkTextTag:pixels-above-lines ##### -->
232 <!-- ##### ARG GtkTextTag:pixels-above-lines-set ##### -->
237 <!-- ##### ARG GtkTextTag:pixels-below-lines ##### -->
242 <!-- ##### ARG GtkTextTag:pixels-below-lines-set ##### -->
247 <!-- ##### ARG GtkTextTag:pixels-inside-wrap ##### -->
252 <!-- ##### ARG GtkTextTag:pixels-inside-wrap-set ##### -->
257 <!-- ##### ARG GtkTextTag:right-margin ##### -->
262 <!-- ##### ARG GtkTextTag:right-margin-set ##### -->
267 <!-- ##### ARG GtkTextTag:rise ##### -->
272 <!-- ##### ARG GtkTextTag:rise-set ##### -->
277 <!-- ##### ARG GtkTextTag:scale ##### -->
282 <!-- ##### ARG GtkTextTag:scale-set ##### -->
287 <!-- ##### ARG GtkTextTag:size ##### -->
292 <!-- ##### ARG GtkTextTag:size-points ##### -->
297 <!-- ##### ARG GtkTextTag:size-set ##### -->
302 <!-- ##### ARG GtkTextTag:stretch ##### -->
307 <!-- ##### ARG GtkTextTag:stretch-set ##### -->
312 <!-- ##### ARG GtkTextTag:strikethrough ##### -->
317 <!-- ##### ARG GtkTextTag:strikethrough-set ##### -->
322 <!-- ##### ARG GtkTextTag:style ##### -->
327 <!-- ##### ARG GtkTextTag:style-set ##### -->
332 <!-- ##### ARG GtkTextTag:tabs ##### -->
337 <!-- ##### ARG GtkTextTag:tabs-set ##### -->
342 <!-- ##### ARG GtkTextTag:underline ##### -->
347 <!-- ##### ARG GtkTextTag:underline-set ##### -->
352 <!-- ##### ARG GtkTextTag:variant ##### -->
357 <!-- ##### ARG GtkTextTag:variant-set ##### -->
362 <!-- ##### ARG GtkTextTag:weight ##### -->
367 <!-- ##### ARG GtkTextTag:weight-set ##### -->
372 <!-- ##### ARG GtkTextTag:wrap-mode ##### -->
377 <!-- ##### ARG GtkTextTag:wrap-mode-set ##### -->
382 <!-- ##### ENUM GtkWrapMode ##### -->
384 Describes a type of line wrapping.
387 @GTK_WRAP_NONE: do not wrap lines; just make the text area wider
388 @GTK_WRAP_CHAR: wrap text, breaking lines anywhere the cursor can
389 appear (between characters, usually - if you want to
390 be technical, between graphemes, see
391 pango_get_log_attrs())
392 @GTK_WRAP_WORD: wrap text, breaking lines in between words
393 @GTK_WRAP_WORD_CHAR: wrap text, breaking lines in between words, or if
394 that is not enough, also between graphemes.
396 <!-- ##### STRUCT GtkTextAttributes ##### -->
398 Using #GtkTextAttributes directly should rarely be necessary. It's
399 primarily useful with gtk_text_iter_get_attributes(). As with most
400 GTK+ structs, the fields in this struct should only be read, never
404 @appearance: pointer to sub-struct containing certain attributes
423 <!-- ##### FUNCTION gtk_text_tag_new ##### -->
432 <!-- ##### FUNCTION gtk_text_tag_get_priority ##### -->
441 <!-- ##### FUNCTION gtk_text_tag_set_priority ##### -->
450 <!-- ##### FUNCTION gtk_text_tag_event ##### -->
462 <!-- ##### STRUCT GtkTextAppearance ##### -->
478 <!-- ##### FUNCTION gtk_text_attributes_new ##### -->
487 <!-- ##### FUNCTION gtk_text_attributes_copy ##### -->
496 <!-- ##### FUNCTION gtk_text_attributes_copy_values ##### -->
505 <!-- ##### FUNCTION gtk_text_attributes_unref ##### -->
513 <!-- ##### FUNCTION gtk_text_attributes_ref ##### -->