⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.10
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
libgtk-3-dev
/
gtk3
/
View File Name :
GtkTextTag.html
<!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: GTK+ 3 Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.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.32 (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="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> <a href="#GtkTextTag.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> <a href="#GtkTextTag.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> <a href="#GtkTextTag.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span> <a href="#GtkTextTag.signals" class="shortcut">Signals</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="TextWidgetObjects.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="GtkTextBuffer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="GtkTextTagTable.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></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 class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="GtkTextTag.functions"></a><h2>Functions</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="functions_proto_type"> <col class="functions_proto_name"> </colgroup> <tbody> <tr> <td class="function_type"> <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> * </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-tag-new" title="gtk_text_tag_new ()">gtk_text_tag_new</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-tag-get-priority" title="gtk_text_tag_get_priority ()">gtk_text_tag_get_priority</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-tag-set-priority" title="gtk_text_tag_set_priority ()">gtk_text_tag_set_priority</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-tag-event" title="gtk_text_tag_event ()">gtk_text_tag_event</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-tag-changed" title="gtk_text_tag_changed ()">gtk_text_tag_changed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-attributes-new" title="gtk_text_attributes_new ()">gtk_text_attributes_new</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-attributes-copy" title="gtk_text_attributes_copy ()">gtk_text_attributes_copy</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-attributes-copy-values" title="gtk_text_attributes_copy_values ()">gtk_text_attributes_copy_values</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-attributes-unref" title="gtk_text_attributes_unref ()">gtk_text_attributes_unref</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * </td> <td class="function_name"> <a class="link" href="GtkTextTag.html#gtk-text-attributes-ref" title="gtk_text_attributes_ref ()">gtk_text_attributes_ref</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTextTag.properties"></a><h2>Properties</h2> <div class="informaltable"><table class="informaltable" border="0"> <colgroup> <col width="150px" class="properties_type"> <col width="300px" class="properties_name"> <col width="200px" class="properties_flags"> </colgroup> <tbody> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--accumulative-margin" title="The “accumulative-margin” property">accumulative-margin</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background" title="The “background” property">background</a></td> <td class="property_flags">Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-full-height" title="The “background-full-height” property">background-full-height</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-full-height-set" title="The “background-full-height-set” property">background-full-height-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-gdk" title="The “background-gdk” property">background-gdk</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-rgba" title="The “background-rgba” property">background-rgba</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--background-set" title="The “background-set” property">background-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--direction" title="The “direction” property">direction</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--editable" title="The “editable” property">editable</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--editable-set" title="The “editable-set” property">editable-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--fallback" title="The “fallback” property">fallback</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--fallback-set" title="The “fallback-set” property">fallback-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--family" title="The “family” property">family</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--family-set" title="The “family-set” property">family-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--font" title="The “font” property">font</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--font-desc" title="The “font-desc” property">font-desc</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--font-features" title="The “font-features” property">font-features</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--font-features-set" title="The “font-features-set” property">font-features-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground" title="The “foreground” property">foreground</a></td> <td class="property_flags">Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-gdk" title="The “foreground-gdk” property">foreground-gdk</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-rgba" title="The “foreground-rgba” property">foreground-rgba</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--foreground-set" title="The “foreground-set” property">foreground-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--indent" title="The “indent” property">indent</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--indent-set" title="The “indent-set” property">indent-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--invisible" title="The “invisible” property">invisible</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--invisible-set" title="The “invisible-set” property">invisible-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--justification" title="The “justification” property">justification</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--justification-set" title="The “justification-set” property">justification-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--language" title="The “language” property">language</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--language-set" title="The “language-set” property">language-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--left-margin" title="The “left-margin” property">left-margin</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--left-margin-set" title="The “left-margin-set” property">left-margin-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--letter-spacing" title="The “letter-spacing” property">letter-spacing</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--letter-spacing-set" title="The “letter-spacing-set” property">letter-spacing-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--name" title="The “name” property">name</a></td> <td class="property_flags">Read / Write / Construct Only</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background" title="The “paragraph-background” property">paragraph-background</a></td> <td class="property_flags">Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-gdk" title="The “paragraph-background-gdk” property">paragraph-background-gdk</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-rgba" title="The “paragraph-background-rgba” property">paragraph-background-rgba</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-set" title="The “paragraph-background-set” property">paragraph-background-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--pixels-above-lines" title="The “pixels-above-lines” property">pixels-above-lines</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--pixels-above-lines-set" title="The “pixels-above-lines-set” property">pixels-above-lines-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--pixels-below-lines" title="The “pixels-below-lines” property">pixels-below-lines</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--pixels-below-lines-set" title="The “pixels-below-lines-set” property">pixels-below-lines-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap" title="The “pixels-inside-wrap” property">pixels-inside-wrap</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap-set" title="The “pixels-inside-wrap-set” property">pixels-inside-wrap-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--right-margin" title="The “right-margin” property">right-margin</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--right-margin-set" title="The “right-margin-set” property">right-margin-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--rise" title="The “rise” property">rise</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--rise-set" title="The “rise-set” property">rise-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--scale" title="The “scale” property">scale</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--scale-set" title="The “scale-set” property">scale-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--size" title="The “size” property">size</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--size-points" title="The “size-points” property">size-points</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--size-set" title="The “size-set” property">size-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--stretch" title="The “stretch” property">stretch</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--stretch-set" title="The “stretch-set” property">stretch-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough" title="The “strikethrough” property">strikethrough</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-rgba" title="The “strikethrough-rgba” property">strikethrough-rgba</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-rgba-set" title="The “strikethrough-rgba-set” property">strikethrough-rgba-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-set" title="The “strikethrough-set” property">strikethrough-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--style" title="The “style” property">style</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--style-set" title="The “style-set” property">style-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray-struct"><span class="type">PangoTabArray</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--tabs" title="The “tabs” property">tabs</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--tabs-set" title="The “tabs-set” property">tabs-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--underline" title="The “underline” property">underline</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"> <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--underline-rgba" title="The “underline-rgba” property">underline-rgba</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--underline-rgba-set" title="The “underline-rgba-set” property">underline-rgba-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--underline-set" title="The “underline-set” property">underline-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--variant" title="The “variant” property">variant</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--variant-set" title="The “variant-set” property">variant-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--weight" title="The “weight” property">weight</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--weight-set" title="The “weight-set” property">weight-set</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--wrap-mode" title="The “wrap-mode” property">wrap-mode</a></td> <td class="property_flags">Read / Write</td> </tr> <tr> <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> <td class="property_name"><a class="link" href="GtkTextTag.html#GtkTextTag--wrap-mode-set" title="The “wrap-mode-set” property">wrap-mode-set</a></td> <td class="property_flags">Read / Write</td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTextTag.signals"></a><h2>Signals</h2> <div class="informaltable"><table class="informaltable" border="0"> <colgroup> <col width="150px" class="signal_proto_type"> <col width="300px" class="signal_proto_name"> <col width="200px" class="signal_proto_flags"> </colgroup> <tbody><tr> <td class="signal_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> <td class="signal_name"><a class="link" href="GtkTextTag.html#GtkTextTag-event" title="The “event” signal">event</a></td> <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> </tr></tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTextTag.other"></a><h2>Types and Values</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="other_proto_type"> <col class="other_proto_name"> </colgroup> <tbody> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="GtkTextTag.html#GtkTextTag-struct" title="struct GtkTextTag">GtkTextTag</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes">GtkTextAttributes</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance">GtkTextAppearance</a></td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GtkTextTag.object-hierarchy"></a><h2>Object Hierarchy</h2> <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> <span class="lineart">╰──</span> GtkTextTag </pre> </div> <div class="refsect1"> <a name="GtkTextTag.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <gtk/gtk.h> </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>gtk_text_buffer_create_tag() is the best way to create tags. See “gtk3-demo” 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. They are maintained by GTK+ and you should not set them independently.</p> </div> <div class="refsect1"> <a name="GtkTextTag.functions_details"></a><h2>Functions</h2> <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="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p> <div class="refsect3"> <a name="gtk-text-tag-new.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>tag name, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-text-tag-new.returns"></a><h4>Returns</h4> <p> a new <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a></p> </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="/usr/share/gtk-doc/html/glib/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="refsect3"> <a name="gtk-text-tag-get-priority.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>tag</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-text-tag-get-priority.returns"></a><h4>Returns</h4> <p> The tag’s priority.</p> </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="/usr/share/gtk-doc/html/glib/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 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="refsect3"> <a name="gtk-text-tag-set-priority.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>tag</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>priority</p></td> <td class="parameter_description"><p>the new priority</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gtk-text-tag-event"></a><h3>gtk_text_tag_event ()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *event_object</code></em>, <em class="parameter"><code><a href="../html/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="refsect3"> <a name="gtk-text-tag-event.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>tag</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>event_object</p></td> <td class="parameter_description"><p>object that received the event, such as a widget</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>event</p></td> <td class="parameter_description"><p>the event</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>iter</p></td> <td class="parameter_description"><p>location where the event was received</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-text-tag-event.returns"></a><h4>Returns</h4> <p> result of signal emission (whether the event was handled)</p> </div> </div> <hr> <div class="refsect2"> <a name="gtk-text-tag-changed"></a><h3>gtk_text_tag_changed ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gtk_text_tag_changed (<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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> size_changed</code></em>);</pre> <p>Emits the <a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-changed" title="The “tag-changed” signal"><span class="type">“tag-changed”</span></a> signal on the <a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> where the tag is included.</p> <p>The signal is already emitted when setting a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> property. This function is useful for a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> subclass.</p> <div class="refsect3"> <a name="gtk-text-tag-changed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>tag</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>size_changed</p></td> <td class="parameter_description"><p>whether the change affects the <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> layout.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p> </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="refsect3"> <a name="gtk-text-attributes-new.returns"></a><h4>Returns</h4> <p> 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>.</p> </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="refsect3"> <a name="gtk-text-attributes-copy.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>src</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> to be copied</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-text-attributes-copy.returns"></a><h4>Returns</h4> <p> 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></p> </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="refsect3"> <a name="gtk-text-attributes-copy-values.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>src</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>dest</p></td> <td class="parameter_description"><p>another <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </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="refsect3"> <a name="gtk-text-attributes-unref.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>values</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </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="refsect3"> <a name="gtk-text-attributes-ref.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>values</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="gtk-text-attributes-ref.returns"></a><h4>Returns</h4> <p> the <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> that were passed in</p> </div> </div> </div> <div class="refsect1"> <a name="GtkTextTag.other_details"></a><h2>Types and Values</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="GtkTextAttributes"></a><h3>struct GtkTextAttributes</h3> <pre class="programlisting">struct GtkTextAttributes { GtkTextAppearance appearance; GtkJustification justification; GtkTextDirection direction; 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; PangoLanguage *language; guint invisible : 1; guint bg_full_height : 1; guint editable : 1; guint no_fallback: 1; gint letter_spacing; #ifdef __GI_SCANNER__ /* The scanner should only see the transparent union, so that its * content does not vary across architectures. */ union { gchar *font_features; }; </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 class="refsect3"> <a name="GtkTextAttributes.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance"><span class="type">GtkTextAppearance</span></a> <em class="structfield"><code><a name="GtkTextAttributes.appearance"></a>appearance</code></em>;</p></td> <td class="struct_member_description"><p><a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance"><span class="type">GtkTextAppearance</span></a> for text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a> <em class="structfield"><code><a name="GtkTextAttributes.justification"></a>justification</code></em>;</p></td> <td class="struct_member_description"><p><a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a> for text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> <em class="structfield"><code><a name="GtkTextAttributes.direction"></a>direction</code></em>;</p></td> <td class="struct_member_description"><p><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> for text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.font"></a>font</code></em>;</p></td> <td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> for text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GtkTextAttributes.font-scale"></a>font_scale</code></em>;</p></td> <td class="struct_member_description"><p>Font scale factor.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.left-margin"></a>left_margin</code></em>;</p></td> <td class="struct_member_description"><p>Width of the left margin in pixels.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.right-margin"></a>right_margin</code></em>;</p></td> <td class="struct_member_description"><p>Width of the right margin in pixels.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.indent"></a>indent</code></em>;</p></td> <td class="struct_member_description"><p>Amount to indent the paragraph, in pixels.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.pixels-above-lines"></a>pixels_above_lines</code></em>;</p></td> <td class="struct_member_description"><p>Pixels of blank space above paragraphs.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.pixels-below-lines"></a>pixels_below_lines</code></em>;</p></td> <td class="struct_member_description"><p>Pixels of blank space below paragraphs.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.pixels-inside-wrap"></a>pixels_inside_wrap</code></em>;</p></td> <td class="struct_member_description"><p>Pixels of blank space between wrapped lines in a paragraph.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray-struct"><span class="type">PangoTabArray</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.tabs"></a>tabs</code></em>;</p></td> <td class="struct_member_description"><p>Custom <a href="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray-struct"><span class="type">PangoTabArray</span></a> for this text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a> <em class="structfield"><code><a name="GtkTextAttributes.wrap-mode"></a>wrap_mode</code></em>;</p></td> <td class="struct_member_description"><p><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a> for text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage-struct"><span class="type">PangoLanguage</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.language"></a>language</code></em>;</p></td> <td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage-struct"><span class="type">PangoLanguage</span></a> for text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.invisible"></a>invisible</code></em> : 1;</p></td> <td class="struct_member_description"><p>Hide the text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.bg-full-height"></a>bg_full_height</code></em> : 1;</p></td> <td class="struct_member_description"><p>Background is fit to full line height rather than baseline +/- ascent/descent (font height).</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.editable"></a>editable</code></em> : 1;</p></td> <td class="struct_member_description"><p>Can edit this text.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.no-fallback"></a>no_fallback</code></em> : 1;</p></td> <td class="struct_member_description"><p>Whether to disable font fallback.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.letter-spacing"></a>letter_spacing</code></em>;</p></td> <td class="struct_member_description"><p>Extra space to insert between graphemes, in Pango units</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.font-features"></a>font_features</code></em>;</p></td> <td> </td> <td> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="GtkTextAppearance"></a><h3>struct GtkTextAppearance</h3> <pre class="programlisting">struct GtkTextAppearance { GdkColor bg_color; /* pixel is taken for underline color */ GdkColor fg_color; /* pixel is taken for strikethrough 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; /* For the sad story of this bit of code, see * https://bugzilla.gnome.org/show_bug.cgi?id=711158 */ #ifdef __GI_SCANNER__ /* The scanner should only see the transparent union, so that its * content does not vary across architectures. */ union { GdkRGBA *rgba[2]; }; </pre> <div class="refsect3"> <a name="GtkTextAppearance.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkTextAppearance.bg-color"></a>bg_color</code></em>;</p></td> <td class="struct_member_description"><p>Background <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> <em class="structfield"><code><a name="GtkTextAppearance.fg-color"></a>fg_color</code></em>;</p></td> <td class="struct_member_description"><p>Foreground <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAppearance.rise"></a>rise</code></em>;</p></td> <td class="struct_member_description"><p>Super/subscript rise, can be negative.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAppearance.underline"></a>underline</code></em> : 4;</p></td> <td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a></p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAppearance.strikethrough"></a>strikethrough</code></em> : 1;</p></td> <td class="struct_member_description"><p>Strikethrough style</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAppearance.draw-bg"></a>draw_bg</code></em> : 1;</p></td> <td class="struct_member_description"><p>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.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAppearance.inside-selection"></a>inside_selection</code></em> : 1;</p></td> <td class="struct_member_description"><p>This are only used when we are actually laying out and rendering a paragraph; not when a <a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance"><span class="type">GtkTextAppearance</span></a> is part of a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAppearance.is-text"></a>is_text</code></em> : 1;</p></td> <td class="struct_member_description"><p>This are only used when we are actually laying out and rendering a paragraph; not when a <a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance"><span class="type">GtkTextAppearance</span></a> is part of a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>.</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *<em class="structfield"><code><a name="GtkTextAppearance.rgba"></a>rgba</code></em>[2];</p></td> <td class="struct_member_description"><p><a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether the margins accumulate or override each other.</p> <p>When set to <a href="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> the margins override one another (the default).</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>Background color as a string.</p> <p>Owner: GtkTextTag</p> <p>Flags: Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether the background color fills the entire line height or only the height of the tagged characters.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects background height.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre> <p>Background color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p> <div class="warning"> <p><code class="literal">GtkTextTag:background-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p> <p>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>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre> <p>Background color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the background color.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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></pre> <p>Text direction, e.g. right-to-left or left-to-right.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether the text can be modified by the user.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects text editability.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--fallback"></a><h3>The <code class="literal">“fallback”</code> property</h3> <pre class="programlisting"> “fallback” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether font fallback is enabled.</p> <p>When set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, other fonts will be substituted where the current font is missing glyphs.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: TRUE</p> <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--fallback-set"></a><h3>The <code class="literal">“fallback-set”</code> property</h3> <pre class="programlisting"> “fallback-set” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects font fallback.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>Name of the font family, e.g. Sans, Helvetica, Times, Monospace.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the font family.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a>.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> *</pre> <p>Font description as a PangoFontDescription struct.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--font-features"></a><h3>The <code class="literal">“font-features”</code> property</h3> <pre class="programlisting"> “font-features” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>OpenType font features, as a string.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: NULL</p> <p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--font-features-set"></a><h3>The <code class="literal">“font-features-set”</code> property</h3> <pre class="programlisting"> “font-features-set” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects font features.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>Foreground color as a string.</p> <p>Owner: GtkTextTag</p> <p>Flags: Write</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="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre> <p>Foreground color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p> <div class="warning"> <p><code class="literal">GtkTextTag:foreground-gdk</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p> <p>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>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre> <p>Foreground color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the foreground color.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Amount to indent the paragraph, in pixels.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects indentation.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects text visibility.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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></pre> <p>Left, right, or center justification.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects paragraph justification.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the language the text is rendered as.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Width of the left margin in pixels.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the left margin.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--letter-spacing"></a><h3>The <code class="literal">“letter-spacing”</code> property</h3> <pre class="programlisting"> “letter-spacing” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Extra spacing between graphemes, in Pango units.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 0</p> <p>Default value: 0</p> <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--letter-spacing-set"></a><h3>The <code class="literal">“letter-spacing-set”</code> property</h3> <pre class="programlisting"> “letter-spacing-set” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects letter spacing.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>Name used to refer to the text tag. NULL for anonymous tags.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write / Construct Only</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> <p>The paragraph background color as a string.</p> <p>Owner: GtkTextTag</p> <p>Flags: Write</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="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *</pre> <p>The paragraph background color as a <a href="../html/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.</p> <div class="warning"> <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.</p> <p>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>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre> <p>The paragraph background color as a <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the paragraph background color.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Pixels of blank space above paragraphs.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the number of pixels above lines.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Pixels of blank space below paragraphs.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the number of pixels above lines.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Pixels of blank space between wrapped lines in a paragraph.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the number of pixels between wrapped lines.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Width of the right margin in pixels.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the right margin.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Offset of text above the baseline (below the baseline if rise is negative) in Pango units.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the rise.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></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>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag scales the font size by a factor.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Font size in Pango units.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre> <p>Font size in points.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the font size.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a></pre> <p>Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the font stretch.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether to strike through the text.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--strikethrough-rgba"></a><h3>The <code class="literal">“strikethrough-rgba”</code> property</h3> <pre class="programlisting"> “strikethrough-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre> <p>This property modifies the color of strikeouts. If not set, strikeouts will use the forground color.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--strikethrough-rgba-set"></a><h3>The <code class="literal">“strikethrough-rgba-set”</code> property</h3> <pre class="programlisting"> “strikethrough-rgba-set” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>If the <a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-rgba" title="The “strikethrough-rgba” property"><span class="type">“strikethrough-rgba”</span></a> property has been set.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects strikethrough.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a></pre> <p>Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the font style.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray-struct"><span class="type">PangoTabArray</span></a> *</pre> <p>Custom tabs for this text.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects tabs.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a></pre> <p>Style of underline for this text.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: PANGO_UNDERLINE_NONE</p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--underline-rgba"></a><h3>The <code class="literal">“underline-rgba”</code> property</h3> <pre class="programlisting"> “underline-rgba” <a href="../html/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre> <p>This property modifies the color of underlines. If not set, underlines will use the forground color.</p> <p>If <a class="link" href="GtkTextTag.html#GtkTextTag--underline" title="The “underline” property"><span class="type">“underline”</span></a> is set to <a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PANGO-UNDERLINE-ERROR:CAPS"><code class="literal">PANGO_UNDERLINE_ERROR</code></a>, an alternate color may be applied instead of the foreground. Setting this property will always override those defaults.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p> </div> <hr> <div class="refsect2"> <a name="GtkTextTag--underline-rgba-set"></a><h3>The <code class="literal">“underline-rgba-set”</code> property</h3> <pre class="programlisting"> “underline-rgba-set” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>If the <a class="link" href="GtkTextTag.html#GtkTextTag--underline-rgba" title="The “underline-rgba” property"><span class="type">“underline-rgba”</span></a> property has been set.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Default value: FALSE</p> <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects underlining.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a></pre> <p>Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the font variant.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects the font weight.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre> <p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> <p>Whether this tag affects line wrap mode.</p> <p>Owner: GtkTextTag</p> <p>Flags: Read / Write</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="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *object, <a href="../html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> <p>The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag.</p> <div class="refsect3"> <a name="GtkTextTag-event.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>tag</p></td> <td class="parameter_description"><p>the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> on which the signal is emitted</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>object</p></td> <td class="parameter_description"><p>the object the event was fired from (typically a <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a>)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>event</p></td> <td class="parameter_description"><p>the event which triggered the signal</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>iter</p></td> <td class="parameter_description"><p>a <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> pointing at the location the event occurred</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>user_data</p></td> <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="GtkTextTag-event.returns"></a><h4>Returns</h4> <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop other handlers from being invoked for the event. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to propagate the event further.</p> </div> <p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> </div> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.32</div> </body> </html>