~ubuntu-branches/ubuntu/saucy/gtk+3.0/saucy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTextTag</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="prev" href="GtkTextBuffer.html" title="GtkTextBuffer">
<link rel="next" href="GtkTextTagTable.html" title="GtkTextTagTable">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTextBuffer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TextWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 Reference Manual</th>
<td><a accesskey="n" href="GtkTextTagTable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkTextTag.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkTextTag.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkTextTag.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkTextTag.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GtkTextTag.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkTextTag"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkTextTag.top_of_page"></a>GtkTextTag</span></h2>
<p>GtkTextTag — A tag that can be applied to text in a GtkTextBuffer</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkTextTag.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="GtkTextTag.html#GtkTextTag-struct" title="struct GtkTextTag">GtkTextTag</a>;
enum                <a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode">GtkWrapMode</a>;
struct              <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes">GtkTextAttributes</a>;
<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> *        <a class="link" href="GtkTextTag.html#gtk-text-tag-new" title="gtk_text_tag_new ()">gtk_text_tag_new</a>                    (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkTextTag.html#gtk-text-tag-get-priority" title="gtk_text_tag_get_priority ()">gtk_text_tag_get_priority</a>           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTag.html#gtk-text-tag-set-priority" title="gtk_text_tag_set_priority ()">gtk_text_tag_set_priority</a>           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkTextTag.html#gtk-text-tag-event" title="gtk_text_tag_event ()">gtk_text_tag_event</a>                  (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *event_object</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);
struct              <a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance">GtkTextAppearance</a>;
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * <a class="link" href="GtkTextTag.html#gtk-text-attributes-new" title="gtk_text_attributes_new ()">gtk_text_attributes_new</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * <a class="link" href="GtkTextTag.html#gtk-text-attributes-copy" title="gtk_text_attributes_copy ()">gtk_text_attributes_copy</a>            (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTag.html#gtk-text-attributes-copy-values" title="gtk_text_attributes_copy_values ()">gtk_text_attributes_copy_values</a>     (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *dest</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTag.html#gtk-text-attributes-unref" title="gtk_text_attributes_unref ()">gtk_text_attributes_unref</a>           (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * <a class="link" href="GtkTextTag.html#gtk-text-attributes-ref" title="gtk_text_attributes_ref ()">gtk_text_attributes_ref</a>             (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GtkTextTag
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkTextTag.html#GtkTextTag--accumulative-margin" title='The "accumulative-margin" property'>accumulative-margin</a>"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background" title='The "background" property'>background</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-full-height" title='The "background-full-height" property'>background-full-height</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-full-height-set" title='The "background-full-height-set" property'>background-full-height-set</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-gdk" title='The "background-gdk" property'>background-gdk</a>"           <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title='The "background-rgba" property'>background-rgba</a>"          <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>*              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-set" title='The "background-set" property'>background-set</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--direction" title='The "direction" property'>direction</a>"                <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a>      : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--editable" title='The "editable" property'>editable</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--editable-set" title='The "editable-set" property'>editable-set</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--family" title='The "family" property'>family</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--family-set" title='The "family-set" property'>family-set</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--font" title='The "font" property'>font</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--font-desc" title='The "font-desc" property'>font-desc</a>"                <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>*  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground" title='The "foreground" property'>foreground</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-gdk" title='The "foreground-gdk" property'>foreground-gdk</a>"           <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title='The "foreground-rgba" property'>foreground-rgba</a>"          <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>*              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-set" title='The "foreground-set" property'>foreground-set</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--indent" title='The "indent" property'>indent</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--indent-set" title='The "indent-set" property'>indent-set</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--invisible" title='The "invisible" property'>invisible</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--invisible-set" title='The "invisible-set" property'>invisible-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--justification" title='The "justification" property'>justification</a>"            <a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a>      : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--justification-set" title='The "justification-set" property'>justification-set</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--language" title='The "language" property'>language</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--language-set" title='The "language-set" property'>language-set</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--left-margin" title='The "left-margin" property'>left-margin</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--left-margin-set" title='The "left-margin-set" property'>left-margin-set</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--name" title='The "name" property'>name</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct Only
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background" title='The "paragraph-background" property'>paragraph-background</a>"     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-gdk" title='The "paragraph-background-gdk" property'>paragraph-background-gdk</a>" <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title='The "paragraph-background-rgba" property'>paragraph-background-rgba</a>" <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>*              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-set" title='The "paragraph-background-set" property'>paragraph-background-set</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-above-lines" title='The "pixels-above-lines" property'>pixels-above-lines</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-above-lines-set" title='The "pixels-above-lines-set" property'>pixels-above-lines-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-below-lines" title='The "pixels-below-lines" property'>pixels-below-lines</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-below-lines-set" title='The "pixels-below-lines-set" property'>pixels-below-lines-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap" title='The "pixels-inside-wrap" property'>pixels-inside-wrap</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap-set" title='The "pixels-inside-wrap-set" property'>pixels-inside-wrap-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--right-margin" title='The "right-margin" property'>right-margin</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--right-margin-set" title='The "right-margin-set" property'>right-margin-set</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--rise" title='The "rise" property'>rise</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--rise-set" title='The "rise-set" property'>rise-set</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--scale" title='The "scale" property'>scale</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--scale-set" title='The "scale-set" property'>scale-set</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--size" title='The "size" property'>size</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--size-points" title='The "size-points" property'>size-points</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--size-set" title='The "size-set" property'>size-set</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--stretch" title='The "stretch" property'>stretch</a>"                  <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a>          : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--stretch-set" title='The "stretch-set" property'>stretch-set</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough" title='The "strikethrough" property'>strikethrough</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-set" title='The "strikethrough-set" property'>strikethrough-set</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--style" title='The "style" property'>style</a>"                    <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>            : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--style-set" title='The "style-set" property'>style-set</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--tabs" title='The "tabs" property'>tabs</a>"                     <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>*        : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--tabs-set" title='The "tabs-set" property'>tabs-set</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--underline" title='The "underline" property'>underline</a>"                <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>        : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--underline-set" title='The "underline-set" property'>underline-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--variant" title='The "variant" property'>variant</a>"                  <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>          : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--variant-set" title='The "variant-set" property'>variant-set</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--weight" title='The "weight" property'>weight</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--weight-set" title='The "weight-set" property'>weight-set</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>"                <a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--wrap-mode-set" title='The "wrap-mode-set" property'>wrap-mode-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkTextTag.html#GtkTextTag-event" title='The "event" signal'>event</a>"                                          : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.description"></a><h2>Description</h2>
<p>
You may wish to begin by reading the <a class="link" href="TextWidget.html" title="Text Widget Overview">text widget
conceptual overview</a> which gives an overview of all the objects and
data types related to the text widget and how they work together.
</p>
<p>
Tags should be in the <a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> for a given <a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a>
before using them with that buffer.
</p>
<p>
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-create-tag" title="gtk_text_buffer_create_tag ()"><code class="function">gtk_text_buffer_create_tag()</code></a> is the best way to create tags.
See <span class="application">gtk3-demo</span> for numerous examples.
</p>
<p>
For each property of <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>, there is a "set" property, e.g.
"font-set" corresponds to "font". These "set" properties reflect
whether a property has been set or not.
You should not set them independently.
</p>
</div>
<div class="refsect1">
<a name="GtkTextTag.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkTextTag-struct"></a><h3>struct GtkTextTag</h3>
<pre class="programlisting">struct GtkTextTag;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GtkWrapMode"></a><h3>enum GtkWrapMode</h3>
<pre class="programlisting">typedef enum {
  GTK_WRAP_NONE,
  GTK_WRAP_CHAR,
  GTK_WRAP_WORD,
  GTK_WRAP_WORD_CHAR
} GtkWrapMode;
</pre>
<p>
Describes a type of line wrapping.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="GTK-WRAP-NONE:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_NONE</code></span></p></td>
<td>do not wrap lines; just make the text area wider
</td>
</tr>
<tr>
<td><p><a name="GTK-WRAP-CHAR:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_CHAR</code></span></p></td>
<td>wrap text, breaking lines anywhere the cursor can
    appear (between characters, usually - if you want to be technical,
    between graphemes, see <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Text-Processing.html#pango-get-log-attrs"><code class="function">pango_get_log_attrs()</code></a>)
</td>
</tr>
<tr>
<td><p><a name="GTK-WRAP-WORD:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_WORD</code></span></p></td>
<td>wrap text, breaking lines in between words
</td>
</tr>
<tr>
<td><p><a name="GTK-WRAP-WORD-CHAR:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_WORD_CHAR</code></span></p></td>
<td>wrap text, breaking lines in between words, or if
    that is not enough, also between graphemes
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextAttributes"></a><h3>struct GtkTextAttributes</h3>
<pre class="programlisting">struct GtkTextAttributes {
  GtkTextAppearance appearance;

  GtkJustification justification;
  GtkTextDirection direction;

  /* Individual chunks of this can be set/unset as a group */
  PangoFontDescription *font;

  gdouble font_scale;

  gint left_margin;
  gint right_margin;
  gint indent;

  gint pixels_above_lines;
  gint pixels_below_lines;
  gint pixels_inside_wrap;

  PangoTabArray *tabs;

  GtkWrapMode wrap_mode;        /* How to handle wrap-around for this tag.
                                 * Must be GTK_WRAPMODE_CHAR,
                                 * GTK_WRAPMODE_NONE, GTK_WRAPMODE_WORD
                                 */

  PangoLanguage *language;

  /* hide the text  */
  guint invisible : 1;

  /* Background is fit to full line height rather than
   * baseline +/- ascent/descent (font height)
   */
  guint bg_full_height : 1;

  /* can edit this text */
  guint editable : 1;
};
</pre>
<p>
Using <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> directly should rarely be necessary.
It's primarily useful with <a class="link" href="GtkTextIter.html#gtk-text-iter-get-attributes" title="gtk_text_iter_get_attributes ()"><code class="function">gtk_text_iter_get_attributes()</code></a>.
As with most GTK+ structs, the fields in this struct should only
be read, never modified directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-new"></a><h3>gtk_text_tag_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> *        gtk_text_tag_new                    (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Creates a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>. Configure the tag using object arguments,
i.e. using <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>tag name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-get-priority"></a><h3>gtk_text_tag_get_priority ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_text_tag_get_priority           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>);</pre>
<p>
Get the tag priority.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The tag's priority.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-set-priority"></a><h3>gtk_text_tag_set_priority ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_tag_set_priority           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
<p>
Sets the priority of a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>. Valid priorities are
start at 0 and go to one less than <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-get-size" title="gtk_text_tag_table_get_size ()"><code class="function">gtk_text_tag_table_get_size()</code></a>.
Each tag in a table has a unique priority; setting the priority
of one tag shifts the priorities of all the other tags in the
table to maintain a unique priority for each tag. Higher priority
tags "win" if two tags both set the same text attribute. When adding
a tag to a tag table, it will be assigned the highest priority in
the table by default; so normally the precedence of a set of tags
is the order in which they were added to the table, or created with
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-create-tag" title="gtk_text_buffer_create_tag ()"><code class="function">gtk_text_buffer_create_tag()</code></a>, which adds the tag to the buffer's table
automatically.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
<td>the new priority</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-event"></a><h3>gtk_text_tag_event ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_text_tag_event                  (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *event_object</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
<p>
Emits the "event" signal on the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event_object</code></em> :</span></p></td>
<td>object that received the event, such as a widget</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>the event</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>location where the event was received</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>result of signal emission (whether the event was handled)</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextAppearance"></a><h3>struct GtkTextAppearance</h3>
<pre class="programlisting">struct GtkTextAppearance {
  GdkColor bg_color;
  GdkColor fg_color;

  /* super/subscript rise, can be negative */
  gint rise;

  guint underline : 4;          /* PangoUnderline */
  guint strikethrough : 1;

  /* Whether to use background-related values; this is irrelevant for
   * the values struct when in a tag, but is used for the composite
   * values struct; it's true if any of the tags being composited
   * had background stuff set.
   */
  guint draw_bg : 1;

  /* These are only used when we are actually laying out and rendering
   * a paragraph; not when a GtkTextAppearance is part of a
   * GtkTextAttributes.
   */
  guint inside_selection : 1;
  guint is_text : 1;

  GdkRGBA *rgba[2];

#if (defined(__SIZEOF_INT__) &amp;&amp; defined(__SIZEOF_POINTER__)) &amp;&amp; (__SIZEOF_INT__ == __SIZEOF_POINTER__)
  /* unusable, just for ABI compat */
  guint padding[2];
#endif
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-new"></a><h3>gtk_text_attributes_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * gtk_text_attributes_new             (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>, which describes
a set of properties on some text.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>,
free with <a class="link" href="GtkTextTag.html#gtk-text-attributes-unref" title="gtk_text_attributes_unref ()"><code class="function">gtk_text_attributes_unref()</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-copy"></a><h3>gtk_text_attributes_copy ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * gtk_text_attributes_copy            (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>);</pre>
<p>
Copies <em class="parameter"><code>src</code></em> and returns a new <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> to be copied</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a copy of <em class="parameter"><code>src</code></em>,
free with <a class="link" href="GtkTextTag.html#gtk-text-attributes-unref" title="gtk_text_attributes_unref ()"><code class="function">gtk_text_attributes_unref()</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-copy-values"></a><h3>gtk_text_attributes_copy_values ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_attributes_copy_values     (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *dest</code></em>);</pre>
<p>
Copies the values from <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em> so that <em class="parameter"><code>dest</code></em> has
the same values as <em class="parameter"><code>src</code></em>. Frees existing values in <em class="parameter"><code>dest</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td>another <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-unref"></a><h3>gtk_text_attributes_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_attributes_unref           (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);</pre>
<p>
Decrements the reference count on <em class="parameter"><code>values</code></em>, freeing the structure
if the reference count reaches 0.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-ref"></a><h3>gtk_text_attributes_ref ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * gtk_text_attributes_ref             (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);</pre>
<p>
Increments the reference count on <em class="parameter"><code>values</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> that were passed in</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GtkTextTag.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkTextTag--accumulative-margin"></a><h3>The <code class="literal">"accumulative-margin"</code> property</h3>
<pre class="programlisting">  "accumulative-margin"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Whether the margins accumulate or override each other.
</p>
<p>
When set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the margins of this tag are added to the margins
of any other non-accumulative margins present. When set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> 
the margins override one another (the default).
</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background"></a><h3>The <code class="literal">"background"</code> property</h3>
<pre class="programlisting">  "background"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write</pre>
<p>Background color as a string.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-full-height"></a><h3>The <code class="literal">"background-full-height"</code> property</h3>
<pre class="programlisting">  "background-full-height"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the background color fills the entire line height or only the height of the tagged characters.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-full-height-set"></a><h3>The <code class="literal">"background-full-height-set"</code> property</h3>
<pre class="programlisting">  "background-full-height-set" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects background height.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-gdk"></a><h3>The <code class="literal">"background-gdk"</code> property</h3>
<pre class="programlisting">  "background-gdk"           <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkTextTag:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code. Use <a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title='The "background-rgba" property'><span class="type">"background-rgba"</span></a> instead.</p>
</div>
<p>
Background color as a <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-rgba"></a><h3>The <code class="literal">"background-rgba"</code> property</h3>
<pre class="programlisting">  "background-rgba"          <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>*              : Read / Write</pre>
<p>
Background color as a <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.
</p>
<p class="since">Since 3.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-set"></a><h3>The <code class="literal">"background-set"</code> property</h3>
<pre class="programlisting">  "background-set"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the background color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--direction"></a><h3>The <code class="literal">"direction"</code> property</h3>
<pre class="programlisting">  "direction"                <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a>      : Read / Write</pre>
<p>Text direction, e.g. right-to-left or left-to-right.</p>
<p>Default value: GTK_TEXT_DIR_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--editable"></a><h3>The <code class="literal">"editable"</code> property</h3>
<pre class="programlisting">  "editable"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the text can be modified by the user.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--editable-set"></a><h3>The <code class="literal">"editable-set"</code> property</h3>
<pre class="programlisting">  "editable-set"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects text editability.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--family"></a><h3>The <code class="literal">"family"</code> property</h3>
<pre class="programlisting">  "family"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Name of the font family, e.g. Sans, Helvetica, Times, Monospace.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--family-set"></a><h3>The <code class="literal">"family-set"</code> property</h3>
<pre class="programlisting">  "family-set"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font family.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--font"></a><h3>The <code class="literal">"font"</code> property</h3>
<pre class="programlisting">  "font"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Font description as string, e.g. \"Sans Italic 12\". 
</p>
<p>
Note that the initial value of this property depends on
the internals of <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--font-desc"></a><h3>The <code class="literal">"font-desc"</code> property</h3>
<pre class="programlisting">  "font-desc"                <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>*  : Read / Write</pre>
<p>Font description as a PangoFontDescription struct.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground"></a><h3>The <code class="literal">"foreground"</code> property</h3>
<pre class="programlisting">  "foreground"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write</pre>
<p>Foreground color as a string.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-gdk"></a><h3>The <code class="literal">"foreground-gdk"</code> property</h3>
<pre class="programlisting">  "foreground-gdk"           <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkTextTag:foreground-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code. Use <a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title='The "foreground-rgba" property'><span class="type">"foreground-rgba"</span></a> instead.</p>
</div>
<p>
Foreground color as a <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-rgba"></a><h3>The <code class="literal">"foreground-rgba"</code> property</h3>
<pre class="programlisting">  "foreground-rgba"          <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>*              : Read / Write</pre>
<p>
Foreground color as a <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.
</p>
<p class="since">Since 3.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-set"></a><h3>The <code class="literal">"foreground-set"</code> property</h3>
<pre class="programlisting">  "foreground-set"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the foreground color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--indent"></a><h3>The <code class="literal">"indent"</code> property</h3>
<pre class="programlisting">  "indent"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Amount to indent the paragraph, in pixels.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--indent-set"></a><h3>The <code class="literal">"indent-set"</code> property</h3>
<pre class="programlisting">  "indent-set"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects indentation.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--invisible"></a><h3>The <code class="literal">"invisible"</code> property</h3>
<pre class="programlisting">  "invisible"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Whether this text is hidden.
</p>
<p>
Note that there may still be problems with the support for invisible 
text, in particular when navigating programmatically inside a buffer
containing invisible segments.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--invisible-set"></a><h3>The <code class="literal">"invisible-set"</code> property</h3>
<pre class="programlisting">  "invisible-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects text visibility.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--justification"></a><h3>The <code class="literal">"justification"</code> property</h3>
<pre class="programlisting">  "justification"            <a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a>      : Read / Write</pre>
<p>Left, right, or center justification.</p>
<p>Default value: GTK_JUSTIFY_LEFT</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--justification-set"></a><h3>The <code class="literal">"justification-set"</code> property</h3>
<pre class="programlisting">  "justification-set"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects paragraph justification.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--language"></a><h3>The <code class="literal">"language"</code> property</h3>
<pre class="programlisting">  "language"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
The language this text is in, as an ISO code. Pango can use this as a 
hint when rendering the text. If not set, an appropriate default will be 
used.
</p>
<p>
Note that the initial value of this property depends on the current
locale, see also <a class="link" href="gtk3-General.html#gtk-get-default-language" title="gtk_get_default_language ()"><code class="function">gtk_get_default_language()</code></a>.
</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--language-set"></a><h3>The <code class="literal">"language-set"</code> property</h3>
<pre class="programlisting">  "language-set"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the language the text is rendered as.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--left-margin"></a><h3>The <code class="literal">"left-margin"</code> property</h3>
<pre class="programlisting">  "left-margin"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Width of the left margin in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--left-margin-set"></a><h3>The <code class="literal">"left-margin-set"</code> property</h3>
<pre class="programlisting">  "left-margin-set"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the left margin.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting">  "name"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct Only</pre>
<p>Name used to refer to the text tag. NULL for anonymous tags.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background"></a><h3>The <code class="literal">"paragraph-background"</code> property</h3>
<pre class="programlisting">  "paragraph-background"     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write</pre>
<p>
The paragraph background color as a string.
</p>
<p>Default value: NULL</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background-gdk"></a><h3>The <code class="literal">"paragraph-background-gdk"</code> property</h3>
<pre class="programlisting">  "paragraph-background-gdk" <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkTextTag:paragraph-background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code. Use <a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title='The "paragraph-background-rgba" property'><span class="type">"paragraph-background-rgba"</span></a> instead.</p>
</div>
<p>
The paragraph background color as a as a <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.
</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background-rgba"></a><h3>The <code class="literal">"paragraph-background-rgba"</code> property</h3>
<pre class="programlisting">  "paragraph-background-rgba" <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>*              : Read / Write</pre>
<p>
The paragraph background color as a as a <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.
</p>
<p class="since">Since 3.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background-set"></a><h3>The <code class="literal">"paragraph-background-set"</code> property</h3>
<pre class="programlisting">  "paragraph-background-set" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the paragraph background color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-above-lines"></a><h3>The <code class="literal">"pixels-above-lines"</code> property</h3>
<pre class="programlisting">  "pixels-above-lines"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Pixels of blank space above paragraphs.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-above-lines-set"></a><h3>The <code class="literal">"pixels-above-lines-set"</code> property</h3>
<pre class="programlisting">  "pixels-above-lines-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels above lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-below-lines"></a><h3>The <code class="literal">"pixels-below-lines"</code> property</h3>
<pre class="programlisting">  "pixels-below-lines"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Pixels of blank space below paragraphs.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-below-lines-set"></a><h3>The <code class="literal">"pixels-below-lines-set"</code> property</h3>
<pre class="programlisting">  "pixels-below-lines-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels above lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-inside-wrap"></a><h3>The <code class="literal">"pixels-inside-wrap"</code> property</h3>
<pre class="programlisting">  "pixels-inside-wrap"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Pixels of blank space between wrapped lines in a paragraph.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-inside-wrap-set"></a><h3>The <code class="literal">"pixels-inside-wrap-set"</code> property</h3>
<pre class="programlisting">  "pixels-inside-wrap-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels between wrapped lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--right-margin"></a><h3>The <code class="literal">"right-margin"</code> property</h3>
<pre class="programlisting">  "right-margin"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Width of the right margin in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--right-margin-set"></a><h3>The <code class="literal">"right-margin-set"</code> property</h3>
<pre class="programlisting">  "right-margin-set"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the right margin.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--rise"></a><h3>The <code class="literal">"rise"</code> property</h3>
<pre class="programlisting">  "rise"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Offset of text above the baseline (below the baseline if rise is negative) in Pango units.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--rise-set"></a><h3>The <code class="literal">"rise-set"</code> property</h3>
<pre class="programlisting">  "rise-set"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the rise.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--scale"></a><h3>The <code class="literal">"scale"</code> property</h3>
<pre class="programlisting">  "scale"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--scale-set"></a><h3>The <code class="literal">"scale-set"</code> property</h3>
<pre class="programlisting">  "scale-set"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag scales the font size by a factor.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--size"></a><h3>The <code class="literal">"size"</code> property</h3>
<pre class="programlisting">  "size"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Font size in Pango units.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--size-points"></a><h3>The <code class="literal">"size-points"</code> property</h3>
<pre class="programlisting">  "size-points"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>Font size in points.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--size-set"></a><h3>The <code class="literal">"size-set"</code> property</h3>
<pre class="programlisting">  "size-set"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font size.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--stretch"></a><h3>The <code class="literal">"stretch"</code> property</h3>
<pre class="programlisting">  "stretch"                  <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a>          : Read / Write</pre>
<p>Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED.</p>
<p>Default value: PANGO_STRETCH_NORMAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--stretch-set"></a><h3>The <code class="literal">"stretch-set"</code> property</h3>
<pre class="programlisting">  "stretch-set"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font stretch.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--strikethrough"></a><h3>The <code class="literal">"strikethrough"</code> property</h3>
<pre class="programlisting">  "strikethrough"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether to strike through the text.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--strikethrough-set"></a><h3>The <code class="literal">"strikethrough-set"</code> property</h3>
<pre class="programlisting">  "strikethrough-set"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects strikethrough.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--style"></a><h3>The <code class="literal">"style"</code> property</h3>
<pre class="programlisting">  "style"                    <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>            : Read / Write</pre>
<p>Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC.</p>
<p>Default value: PANGO_STYLE_NORMAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--style-set"></a><h3>The <code class="literal">"style-set"</code> property</h3>
<pre class="programlisting">  "style-set"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font style.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--tabs"></a><h3>The <code class="literal">"tabs"</code> property</h3>
<pre class="programlisting">  "tabs"                     <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>*        : Read / Write</pre>
<p>Custom tabs for this text.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--tabs-set"></a><h3>The <code class="literal">"tabs-set"</code> property</h3>
<pre class="programlisting">  "tabs-set"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects tabs.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--underline"></a><h3>The <code class="literal">"underline"</code> property</h3>
<pre class="programlisting">  "underline"                <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>        : Read / Write</pre>
<p>Style of underline for this text.</p>
<p>Default value: PANGO_UNDERLINE_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--underline-set"></a><h3>The <code class="literal">"underline-set"</code> property</h3>
<pre class="programlisting">  "underline-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects underlining.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--variant"></a><h3>The <code class="literal">"variant"</code> property</h3>
<pre class="programlisting">  "variant"                  <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>          : Read / Write</pre>
<p>Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS.</p>
<p>Default value: PANGO_VARIANT_NORMAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--variant-set"></a><h3>The <code class="literal">"variant-set"</code> property</h3>
<pre class="programlisting">  "variant-set"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font variant.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--weight"></a><h3>The <code class="literal">"weight"</code> property</h3>
<pre class="programlisting">  "weight"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 400</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--weight-set"></a><h3>The <code class="literal">"weight-set"</code> property</h3>
<pre class="programlisting">  "weight-set"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font weight.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
<pre class="programlisting">  "wrap-mode"                <a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write</pre>
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
<p>Default value: GTK_WRAP_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--wrap-mode-set"></a><h3>The <code class="literal">"wrap-mode-set"</code> property</h3>
<pre class="programlisting">  "wrap-mode-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects line wrap mode.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTextTag.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkTextTag-event"></a><h3>The <code class="literal">"event"</code> signal</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>  *tag,
                                                        <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>     *object,
                                                        <a href="http://developer.gnome.org/gdk/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>    *event,
                                                        <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::event signal is emitted when an event occurs on a region of the
buffer marked with this tag.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> on which the signal is emitted</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>the object the event was fired from (typically a <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>the event which triggered the signal</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> pointing at the location the event occured</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop other handlers from being invoked for the
event. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to propagate the event further.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18.1</div>
</body>
</html>