MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/gtk-doc/html/gtk/GtkTextTag.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkTextTag</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ 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.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part&#160;I.&#160;GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part&#160;IV.&#160;Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and 
         GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part&#160;V.&#160;GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTextBuffer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TextWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkTextTagTable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3032736" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id3034231" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id3033022" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id3033047" class="shortcut">Properties</a>
                  &#160;|&#160;
                  <a href="#id3034160" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkTextTag"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3032736"></a><span class="refentrytitle">GtkTextTag</span>
</h2>
<p>GtkTextTag &#8212; 
A tag that can be applied to text in a <a href="GtkTextBuffer.html" title="GtkTextBuffer">GtkTextBuffer</a></p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;


            <a href="GtkTextTag.html#GtkTextTag-struct">GtkTextTag</a>;
enum        <a href="GtkTextTag.html#GtkWrapMode">GtkWrapMode</a>;
            <a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>;
<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a>* <a href="GtkTextTag.html#gtk-text-tag-new">gtk_text_tag_new</a>                (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="GtkTextTag.html#gtk-text-tag-get-priority">gtk_text_tag_get_priority</a>       (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a> *tag);
void        <a href="GtkTextTag.html#gtk-text-tag-set-priority">gtk_text_tag_set_priority</a>       (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a> *tag,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> priority);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTextTag.html#gtk-text-tag-event">gtk_text_tag_event</a>              (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a> *tag,
                                             <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *event_object,
                                             <a
href="../gdk/gdk-Event-Structures.html#GdkEvent"
>GdkEvent</a> *event,
                                             const <a href="gtk-GtkTextIter.html#GtkTextIter">GtkTextIter</a> *iter);
            <a href="GtkTextTag.html#GtkTextAppearance">GtkTextAppearance</a>;
<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>* <a href="GtkTextTag.html#gtk-text-attributes-new">gtk_text_attributes_new</a>  (void);
<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>* <a href="GtkTextTag.html#gtk-text-attributes-copy">gtk_text_attributes_copy</a> (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *src);
void        <a href="GtkTextTag.html#gtk-text-attributes-copy-values">gtk_text_attributes_copy_values</a> (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *src,
                                             <a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *dest);
void        <a href="GtkTextTag.html#gtk-text-attributes-unref">gtk_text_attributes_unref</a>       (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *values);
<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>* <a href="GtkTextTag.html#gtk-text-attributes-ref">gtk_text_attributes_ref</a>  (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *values);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3033022"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----GtkTextTag
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3033047"></a><h2>Properties</h2>
<pre class="synopsis">

  "<a href="GtkTextTag.html#GtkTextTag--background">background</a>"           <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Write
  "<a href="GtkTextTag.html#GtkTextTag--background-full-height">background-full-height</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--background-full-height-set">background-full-height-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--background-gdk">background-gdk</a>"       <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--background-set">background-set</a>"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--background-stipple">background-stipple</a>"   <a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
>GdkPixmap</a>             : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--background-stipple-set">background-stipple-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--direction">direction</a>"            <a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a>      : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--editable">editable</a>"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--editable-set">editable-set</a>"         <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--family">family</a>"               <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--family-set">family-set</a>"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--font">font</a>"                 <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--font-desc">font-desc</a>"            <a
href="../pango/pango-Fonts.html#PangoFontDescription"
>PangoFontDescription</a>  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--foreground">foreground</a>"           <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Write
  "<a href="GtkTextTag.html#GtkTextTag--foreground-gdk">foreground-gdk</a>"       <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--foreground-set">foreground-set</a>"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--foreground-stipple">foreground-stipple</a>"   <a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
>GdkPixmap</a>             : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--foreground-stipple-set">foreground-stipple-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--indent">indent</a>"               <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--indent-set">indent-set</a>"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--invisible">invisible</a>"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--invisible-set">invisible-set</a>"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--justification">justification</a>"        <a href="gtk-Standard-Enumerations.html#GtkJustification">GtkJustification</a>      : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--justification-set">justification-set</a>"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--language">language</a>"             <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--language-set">language-set</a>"         <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--left-margin">left-margin</a>"          <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--left-margin-set">left-margin-set</a>"      <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--name">name</a>"                 <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write / Construct Only
  "<a href="GtkTextTag.html#GtkTextTag--paragraph-background">paragraph-background</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Write
  "<a href="GtkTextTag.html#GtkTextTag--paragraph-background-gdk">paragraph-background-gdk</a>" <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--paragraph-background-set">paragraph-background-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--pixels-above-lines">pixels-above-lines</a>"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--pixels-above-lines-set">pixels-above-lines-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--pixels-below-lines">pixels-below-lines</a>"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--pixels-below-lines-set">pixels-below-lines-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap">pixels-inside-wrap</a>"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap-set">pixels-inside-wrap-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--right-margin">right-margin</a>"         <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--right-margin-set">right-margin-set</a>"     <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--rise">rise</a>"                 <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--rise-set">rise-set</a>"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--scale">scale</a>"                <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a>               : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--scale-set">scale-set</a>"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--size">size</a>"                 <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--size-points">size-points</a>"          <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a>               : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--size-set">size-set</a>"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--stretch">stretch</a>"              <a
href="../pango/pango-Fonts.html#PangoStretch"
>PangoStretch</a>          : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--stretch-set">stretch-set</a>"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--strikethrough">strikethrough</a>"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--strikethrough-set">strikethrough-set</a>"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--style">style</a>"                <a
href="../pango/pango-Fonts.html#PangoStyle"
>PangoStyle</a>            : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--style-set">style-set</a>"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--tabs">tabs</a>"                 <a
href="../pango/pango-Tab-Stops.html#PangoTabArray"
>PangoTabArray</a>         : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--tabs-set">tabs-set</a>"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--underline">underline</a>"            <a
href="../pango/pango-Text-Attributes.html#PangoUnderline"
>PangoUnderline</a>        : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--underline-set">underline-set</a>"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--variant">variant</a>"              <a
href="../pango/pango-Fonts.html#PangoVariant"
>PangoVariant</a>          : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--variant-set">variant-set</a>"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--weight">weight</a>"               <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--weight-set">weight-set</a>"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--wrap-mode">wrap-mode</a>"            <a href="GtkTextTag.html#GtkWrapMode">GtkWrapMode</a>           : Read / Write
  "<a href="GtkTextTag.html#GtkTextTag--wrap-mode-set">wrap-mode-set</a>"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3034160"></a><h2>Signals</h2>
<pre class="synopsis">

"<a href="GtkTextTag.html#GtkTextTag-event">event</a>"     <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function      (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a>  *texttag,
                                            <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>     *arg1,
                                            <a
href="../gdk/gdk-Event-Structures.html#GdkEvent"
>GdkEvent</a>    *event,
                                            <a href="gtk-GtkTextIter.html#GtkTextIter">GtkTextIter</a> *arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3034231"></a><h2>Description</h2>
<p>
You may wish to begin by reading the <a 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 href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> for a given <a href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a>
before using them with that buffer.
</p>
<p>
<a href="GtkTextBuffer.html#gtk-text-buffer-create-tag"><code class="function">gtk_text_buffer_create_tag()</code></a> is the best way to create tags.
See <span class="application">gtk-demo</span> for numerous examples.
</p>
<p>
The "invisible" property was not implemented for GTK+ 2.0; it's
planned to be implemented in future releases.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3034302"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3034312"></a><h3>
<a name="GtkTextTag-struct"></a>GtkTextTag</h3>
<a class="indexterm" name="id3034325"></a><pre class="programlisting">typedef struct _GtkTextTag GtkTextTag;</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3034340"></a><h3>
<a name="GtkWrapMode"></a>enum GtkWrapMode</h3>
<a class="indexterm" name="id3034353"></a><pre class="programlisting">typedef enum
{
  GTK_WRAP_NONE,
  GTK_WRAP_CHAR,
  GTK_WRAP_WORD,
  GTK_WRAP_WORD_CHAR
} GtkWrapMode;
</pre>
<p>
Describes a type of line wrapping.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a name="GTK-WRAP-NONE:CAPS"></a><code class="literal">GTK_WRAP_NONE</code></span></td>
<td>do not wrap lines; just make the text area wider
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-WRAP-CHAR:CAPS"></a><code class="literal">GTK_WRAP_CHAR</code></span></td>
<td>wrap text, breaking lines anywhere the cursor can
                appear (between characters, usually - if you want to
                be technical, between graphemes, see
                <a
href="../pango/pango-Text-Processing.html#pango-get-log-attrs"
><code class="function">pango_get_log_attrs()</code></a>)
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-WRAP-WORD:CAPS"></a><code class="literal">GTK_WRAP_WORD</code></span></td>
<td>wrap text, breaking lines in between words
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-WRAP-WORD-CHAR:CAPS"></a><code class="literal">GTK_WRAP_WORD_CHAR</code></span></td>
<td>wrap text, breaking lines in between words, or if 
                that is not enough, also between graphemes.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3034482"></a><h3>
<a name="GtkTextAttributes"></a>GtkTextAttributes</h3>
<a class="indexterm" name="id3034494"></a><pre class="programlisting">typedef struct {
  GtkTextAppearance appearance;

  GtkJustification justification;
  GtkTextDirection direction;

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

  gdouble font_scale;
  
  gint left_margin;

  gint indent;  

  gint right_margin;

  gint pixels_above_lines;

  gint pixels_below_lines;

  gint pixels_inside_wrap;

  PangoTabArray *tabs;

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

  PangoLanguage *language;

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

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

  /* can edit this text */
  guint editable : 1;

  /* colors are allocated etc. */
  guint realized : 1;
} GtkTextAttributes;
</pre>
<p>
Using <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> directly should rarely be necessary. It's
primarily useful with <a href="gtk-GtkTextIter.html#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="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a href="GtkTextTag.html#GtkTextAppearance">GtkTextAppearance</a>&#160;<em class="structfield"><code>appearance</code></em>;</span></td>
<td>pointer to sub-struct containing certain attributes
</td>
</tr>
<tr>
<td>
<span class="term"><a href="gtk-Standard-Enumerations.html#GtkJustification">GtkJustification</a>&#160;<em class="structfield"><code>justification</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a>&#160;<em class="structfield"><code>direction</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../pango/pango-Fonts.html#PangoFontDescription"
>PangoFontDescription</a>&#160;*<em class="structfield"><code>font</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a>&#160;<em class="structfield"><code>font_scale</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>&#160;<em class="structfield"><code>left_margin</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>&#160;<em class="structfield"><code>indent</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>&#160;<em class="structfield"><code>right_margin</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>&#160;<em class="structfield"><code>pixels_above_lines</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>&#160;<em class="structfield"><code>pixels_below_lines</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>&#160;<em class="structfield"><code>pixels_inside_wrap</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../pango/pango-Tab-Stops.html#PangoTabArray"
>PangoTabArray</a>&#160;*<em class="structfield"><code>tabs</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a href="GtkTextTag.html#GtkWrapMode">GtkWrapMode</a>&#160;<em class="structfield"><code>wrap_mode</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../pango/pango-Text-Attributes.html#PangoLanguage"
>PangoLanguage</a>&#160;*<em class="structfield"><code>language</code></em>;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>&#160;<em class="structfield"><code>invisible</code></em>&#160;:&#160;1;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>&#160;<em class="structfield"><code>bg_full_height</code></em>&#160;:&#160;1;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>&#160;<em class="structfield"><code>editable</code></em>&#160;:&#160;1;</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>&#160;<em class="structfield"><code>realized</code></em>&#160;:&#160;1;</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3034918"></a><h3>
<a name="gtk-text-tag-new"></a>gtk_text_tag_new ()</h3>
<a class="indexterm" name="id3034931"></a><pre class="programlisting"><a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a>* gtk_text_tag_new                (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Creates a <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>. Configure the tag using object arguments,
i.e. using <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-set"
><code class="function">g_object_set()</code></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> tag name, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035028"></a><h3>
<a name="gtk-text-tag-get-priority"></a>gtk_text_tag_get_priority ()</h3>
<a class="indexterm" name="id3035042"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        gtk_text_tag_get_priority       (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a> *tag);</pre>
<p>
Get the tag priority.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tag</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The tag's priority.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035109"></a><h3>
<a name="gtk-text-tag-set-priority"></a>gtk_text_tag_set_priority ()</h3>
<a class="indexterm" name="id3035123"></a><pre class="programlisting">void        gtk_text_tag_set_priority       (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a> *tag,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> priority);</pre>
<p>
Sets the priority of a <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>. Valid priorities are
start at 0 and go to one less than <a href="GtkTextTagTable.html#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 href="GtkTextBuffer.html#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>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tag</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>priority</code></em>&#160;:</span></td>
<td> the new priority
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035250"></a><h3>
<a name="gtk-text-tag-event"></a>gtk_text_tag_event ()</h3>
<a class="indexterm" name="id3035263"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_text_tag_event              (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a> *tag,
                                             <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *event_object,
                                             <a
href="../gdk/gdk-Event-Structures.html#GdkEvent"
>GdkEvent</a> *event,
                                             const <a href="gtk-GtkTextIter.html#GtkTextIter">GtkTextIter</a> *iter);</pre>
<p>
Emits the "event" signal on the <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>tag</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>event_object</code></em>&#160;:</span></td>
<td> object that received the event, such as a widget
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>event</code></em>&#160;:</span></td>
<td> the event
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em>&#160;:</span></td>
<td> location where the event was received
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> result of signal emission (whether the event was handled)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035405"></a><h3>
<a name="GtkTextAppearance"></a>GtkTextAppearance</h3>
<a class="indexterm" name="id3035418"></a><pre class="programlisting">typedef struct {
  GdkColor bg_color;
  GdkColor fg_color;
  GdkBitmap *bg_stipple;
  GdkBitmap *fg_stipple;

  /* 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;
} GtkTextAppearance;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035445"></a><h3>
<a name="gtk-text-attributes-new"></a>gtk_text_attributes_new ()</h3>
<a class="indexterm" name="id3035458"></a><pre class="programlisting"><a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>* gtk_text_attributes_new  (void);</pre>
<p>
Creates a <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>, which describes
a set of properties on some text.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035515"></a><h3>
<a name="gtk-text-attributes-copy"></a>gtk_text_attributes_copy ()</h3>
<a class="indexterm" name="id3035528"></a><pre class="programlisting"><a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>* gtk_text_attributes_copy (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *src);</pre>
<p>
Copies <em class="parameter"><code>src</code></em> and returns a new <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>src</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> to be copied
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a copy of <em class="parameter"><code>src</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035617"></a><h3>
<a name="gtk-text-attributes-copy-values"></a>gtk_text_attributes_copy_values ()</h3>
<a class="indexterm" name="id3035630"></a><pre class="programlisting">void        gtk_text_attributes_copy_values (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *src,
                                             <a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *dest);</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>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>src</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>dest</code></em>&#160;:</span></td>
<td> another <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035748"></a><h3>
<a name="gtk-text-attributes-unref"></a>gtk_text_attributes_unref ()</h3>
<a class="indexterm" name="id3035762"></a><pre class="programlisting">void        gtk_text_attributes_unref       (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *values);</pre>
<p>
Decrements the reference count on <em class="parameter"><code>values</code></em>, freeing the structure
if the reference count reaches 0.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035827"></a><h3>
<a name="gtk-text-attributes-ref"></a>gtk_text_attributes_ref ()</h3>
<a class="indexterm" name="id3035840"></a><pre class="programlisting"><a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a>* gtk_text_attributes_ref  (<a href="GtkTextTag.html#GtkTextAttributes">GtkTextAttributes</a> *values);</pre>
<p>
Increments the reference count on <em class="parameter"><code>values</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td> a <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the <a href="GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> that were passed in
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3035925"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3035935"></a><h3>
<a name="GtkTextTag--background"></a>The "<code class="literal">background</code>" property</h3>
<a class="indexterm" name="id3035952"></a><pre class="programlisting">  "background"           <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Write</pre>
<p>Background color as a string.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3035978"></a><h3>
<a name="GtkTextTag--background-full-height"></a>The "<code class="literal">background-full-height</code>" property</h3>
<a class="indexterm" name="id3035995"></a><pre class="programlisting">  "background-full-height" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the background color fills the entire line height or only the height of the tagged characters.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036024"></a><h3>
<a name="GtkTextTag--background-full-height-set"></a>The "<code class="literal">background-full-height-set</code>" property</h3>
<a class="indexterm" name="id3036041"></a><pre class="programlisting">  "background-full-height-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects background height.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036068"></a><h3>
<a name="GtkTextTag--background-gdk"></a>The "<code class="literal">background-gdk</code>" property</h3>
<a class="indexterm" name="id3036085"></a><pre class="programlisting">  "background-gdk"       <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read / Write</pre>
<p>Background color as a (possibly unallocated) GdkColor.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036108"></a><h3>
<a name="GtkTextTag--background-set"></a>The "<code class="literal">background-set</code>" property</h3>
<a class="indexterm" name="id3036125"></a><pre class="programlisting">  "background-set"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the background color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036152"></a><h3>
<a name="GtkTextTag--background-stipple"></a>The "<code class="literal">background-stipple</code>" property</h3>
<a class="indexterm" name="id3036169"></a><pre class="programlisting">  "background-stipple"   <a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
>GdkPixmap</a>             : Read / Write</pre>
<p>Bitmap to use as a mask when drawing the text background.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036192"></a><h3>
<a name="GtkTextTag--background-stipple-set"></a>The "<code class="literal">background-stipple-set</code>" property</h3>
<a class="indexterm" name="id3036209"></a><pre class="programlisting">  "background-stipple-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the background stipple.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036236"></a><h3>
<a name="GtkTextTag--direction"></a>The "<code class="literal">direction</code>" property</h3>
<a class="indexterm" name="id3036253"></a><pre class="programlisting">  "direction"            <a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a>      : Read / Write</pre>
<p>Text direction, e.g. right-to-left or left-to-right.</p>
<p>Default value: GTK_TEXT_DIR_NONE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036280"></a><h3>
<a name="GtkTextTag--editable"></a>The "<code class="literal">editable</code>" property</h3>
<a class="indexterm" name="id3036297"></a><pre class="programlisting">  "editable"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the text can be modified by the user.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036324"></a><h3>
<a name="GtkTextTag--editable-set"></a>The "<code class="literal">editable-set</code>" property</h3>
<a class="indexterm" name="id3036340"></a><pre class="programlisting">  "editable-set"         <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects text editability.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036367"></a><h3>
<a name="GtkTextTag--family"></a>The "<code class="literal">family</code>" property</h3>
<a class="indexterm" name="id3036383"></a><pre class="programlisting">  "family"               <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write</pre>
<p>Name of the font family, e.g. Sans, Helvetica, Times, Monospace.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036410"></a><h3>
<a name="GtkTextTag--family-set"></a>The "<code class="literal">family-set</code>" property</h3>
<a class="indexterm" name="id3036427"></a><pre class="programlisting">  "family-set"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the font family.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036454"></a><h3>
<a name="GtkTextTag--font"></a>The "<code class="literal">font</code>" property</h3>
<a class="indexterm" name="id3036470"></a><pre class="programlisting">  "font"                 <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write</pre>
<p>
Font description as string, e.g. \"Sans Italic 12\". 
</p>
<p>
Note that the initial value of this property depends on
the internals of <a
href="../pango/pango-Fonts.html#PangoFontDescription"
><span class="type">PangoFontDescription</span></a>.</p>
<p>

</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036513"></a><h3>
<a name="GtkTextTag--font-desc"></a>The "<code class="literal">font-desc</code>" property</h3>
<a class="indexterm" name="id3036530"></a><pre class="programlisting">  "font-desc"            <a
href="../pango/pango-Fonts.html#PangoFontDescription"
>PangoFontDescription</a>  : Read / Write</pre>
<p>Font description as a PangoFontDescription struct.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036554"></a><h3>
<a name="GtkTextTag--foreground"></a>The "<code class="literal">foreground</code>" property</h3>
<a class="indexterm" name="id3036570"></a><pre class="programlisting">  "foreground"           <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Write</pre>
<p>Foreground color as a string.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036596"></a><h3>
<a name="GtkTextTag--foreground-gdk"></a>The "<code class="literal">foreground-gdk</code>" property</h3>
<a class="indexterm" name="id3036613"></a><pre class="programlisting">  "foreground-gdk"       <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read / Write</pre>
<p>Foreground color as a (possibly unallocated) GdkColor.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036636"></a><h3>
<a name="GtkTextTag--foreground-set"></a>The "<code class="literal">foreground-set</code>" property</h3>
<a class="indexterm" name="id3036653"></a><pre class="programlisting">  "foreground-set"       <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the foreground color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036680"></a><h3>
<a name="GtkTextTag--foreground-stipple"></a>The "<code class="literal">foreground-stipple</code>" property</h3>
<a class="indexterm" name="id3036696"></a><pre class="programlisting">  "foreground-stipple"   <a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
>GdkPixmap</a>             : Read / Write</pre>
<p>Bitmap to use as a mask when drawing the text foreground.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036720"></a><h3>
<a name="GtkTextTag--foreground-stipple-set"></a>The "<code class="literal">foreground-stipple-set</code>" property</h3>
<a class="indexterm" name="id3036737"></a><pre class="programlisting">  "foreground-stipple-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the foreground stipple.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036764"></a><h3>
<a name="GtkTextTag--indent"></a>The "<code class="literal">indent</code>" property</h3>
<a class="indexterm" name="id3036780"></a><pre class="programlisting">  "indent"               <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Amount to indent the paragraph, in pixels.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036806"></a><h3>
<a name="GtkTextTag--indent-set"></a>The "<code class="literal">indent-set</code>" property</h3>
<a class="indexterm" name="id3036822"></a><pre class="programlisting">  "indent-set"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects indentation.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036849"></a><h3>
<a name="GtkTextTag--invisible"></a>The "<code class="literal">invisible</code>" property</h3>
<a class="indexterm" name="id3036865"></a><pre class="programlisting">  "invisible"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
Whether this text is hidden.
</p>
<p>
Note that there may still be problems with the support for invisible 
text, in particular when navigating programmatically inside a buffer
containing invisible segments.</p>
<p>

</p>
<p>Default value: FALSE</p>
<p>Since  2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036907"></a><h3>
<a name="GtkTextTag--invisible-set"></a>The "<code class="literal">invisible-set</code>" property</h3>
<a class="indexterm" name="id3036923"></a><pre class="programlisting">  "invisible-set"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects text visibility.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036950"></a><h3>
<a name="GtkTextTag--justification"></a>The "<code class="literal">justification</code>" property</h3>
<a class="indexterm" name="id3036966"></a><pre class="programlisting">  "justification"        <a href="gtk-Standard-Enumerations.html#GtkJustification">GtkJustification</a>      : Read / Write</pre>
<p>Left, right, or center justification.</p>
<p>Default value: GTK_JUSTIFY_LEFT</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3036994"></a><h3>
<a name="GtkTextTag--justification-set"></a>The "<code class="literal">justification-set</code>" property</h3>
<a class="indexterm" name="id3037010"></a><pre class="programlisting">  "justification-set"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects paragraph justification.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037038"></a><h3>
<a name="GtkTextTag--language"></a>The "<code class="literal">language</code>" property</h3>
<a class="indexterm" name="id3037054"></a><pre class="programlisting">  "language"             <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write</pre>
<p>
The language this text is in, as an ISO code. Pango can use this as a 
hint when rendering the text. If not set, an appropriate default will be 
used.
</p>
<p>
Note that the initial value of this property depends on the current
locale, see also <a href="gtk-General.html#gtk-get-default-language"><code class="function">gtk_get_default_language()</code></a>.</p>
<p>

</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037101"></a><h3>
<a name="GtkTextTag--language-set"></a>The "<code class="literal">language-set</code>" property</h3>
<a class="indexterm" name="id3037118"></a><pre class="programlisting">  "language-set"         <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the language the text is rendered as.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037145"></a><h3>
<a name="GtkTextTag--left-margin"></a>The "<code class="literal">left-margin</code>" property</h3>
<a class="indexterm" name="id3037162"></a><pre class="programlisting">  "left-margin"          <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Width of the left margin in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037192"></a><h3>
<a name="GtkTextTag--left-margin-set"></a>The "<code class="literal">left-margin-set</code>" property</h3>
<a class="indexterm" name="id3037208"></a><pre class="programlisting">  "left-margin-set"      <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the left margin.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037235"></a><h3>
<a name="GtkTextTag--name"></a>The "<code class="literal">name</code>" property</h3>
<a class="indexterm" name="id3037252"></a><pre class="programlisting">  "name"                 <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write / Construct Only</pre>
<p>Name used to refer to the text tag. NULL for anonymous tags.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037279"></a><h3>
<a name="GtkTextTag--paragraph-background"></a>The "<code class="literal">paragraph-background</code>" property</h3>
<a class="indexterm" name="id3037296"></a><pre class="programlisting">  "paragraph-background" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Write</pre>
<p>
The paragraph background color as a string.</p>
<p>

</p>
<p>Default value: NULL</p>
<p>Since  2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037332"></a><h3>
<a name="GtkTextTag--paragraph-background-gdk"></a>The "<code class="literal">paragraph-background-gdk</code>" property</h3>
<a class="indexterm" name="id3037349"></a><pre class="programlisting">  "paragraph-background-gdk" <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a>              : Read / Write</pre>
<p>
The paragraph background color as a as a (possibly unallocated) 
<a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
><span class="type">GdkColor</span></a>.</p>
<p>

</p>
<p>Since  2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037390"></a><h3>
<a name="GtkTextTag--paragraph-background-set"></a>The "<code class="literal">paragraph-background-set</code>" property</h3>
<a class="indexterm" name="id3037407"></a><pre class="programlisting">  "paragraph-background-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the paragraph background color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037435"></a><h3>
<a name="GtkTextTag--pixels-above-lines"></a>The "<code class="literal">pixels-above-lines</code>" property</h3>
<a class="indexterm" name="id3037452"></a><pre class="programlisting">  "pixels-above-lines"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Pixels of blank space above paragraphs.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037482"></a><h3>
<a name="GtkTextTag--pixels-above-lines-set"></a>The "<code class="literal">pixels-above-lines-set</code>" property</h3>
<a class="indexterm" name="id3037500"></a><pre class="programlisting">  "pixels-above-lines-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels above lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037527"></a><h3>
<a name="GtkTextTag--pixels-below-lines"></a>The "<code class="literal">pixels-below-lines</code>" property</h3>
<a class="indexterm" name="id3037544"></a><pre class="programlisting">  "pixels-below-lines"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Pixels of blank space below paragraphs.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037574"></a><h3>
<a name="GtkTextTag--pixels-below-lines-set"></a>The "<code class="literal">pixels-below-lines-set</code>" property</h3>
<a class="indexterm" name="id3037592"></a><pre class="programlisting">  "pixels-below-lines-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels above lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037619"></a><h3>
<a name="GtkTextTag--pixels-inside-wrap"></a>The "<code class="literal">pixels-inside-wrap</code>" property</h3>
<a class="indexterm" name="id3037636"></a><pre class="programlisting">  "pixels-inside-wrap"   <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Pixels of blank space between wrapped lines in a paragraph.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037667"></a><h3>
<a name="GtkTextTag--pixels-inside-wrap-set"></a>The "<code class="literal">pixels-inside-wrap-set</code>" property</h3>
<a class="indexterm" name="id3037684"></a><pre class="programlisting">  "pixels-inside-wrap-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels between wrapped lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037712"></a><h3>
<a name="GtkTextTag--right-margin"></a>The "<code class="literal">right-margin</code>" property</h3>
<a class="indexterm" name="id3037729"></a><pre class="programlisting">  "right-margin"         <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Width of the right margin in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037760"></a><h3>
<a name="GtkTextTag--right-margin-set"></a>The "<code class="literal">right-margin-set</code>" property</h3>
<a class="indexterm" name="id3037777"></a><pre class="programlisting">  "right-margin-set"     <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the right margin.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037804"></a><h3>
<a name="GtkTextTag--rise"></a>The "<code class="literal">rise</code>" property</h3>
<a class="indexterm" name="id3037820"></a><pre class="programlisting">  "rise"                 <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Offset of text above the baseline (below the baseline if rise is negative) in Pango units.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037848"></a><h3>
<a name="GtkTextTag--rise-set"></a>The "<code class="literal">rise-set</code>" property</h3>
<a class="indexterm" name="id3037864"></a><pre class="programlisting">  "rise-set"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the rise.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037891"></a><h3>
<a name="GtkTextTag--scale"></a>The "<code class="literal">scale</code>" property</h3>
<a class="indexterm" name="id3037906"></a><pre class="programlisting">  "scale"                <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a>               : Read / Write</pre>
<p>Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037939"></a><h3>
<a name="GtkTextTag--scale-set"></a>The "<code class="literal">scale-set</code>" property</h3>
<a class="indexterm" name="id3037956"></a><pre class="programlisting">  "scale-set"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag scales the font size by a factor.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3037983"></a><h3>
<a name="GtkTextTag--size"></a>The "<code class="literal">size</code>" property</h3>
<a class="indexterm" name="id3037998"></a><pre class="programlisting">  "size"                 <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Font size in Pango units.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038029"></a><h3>
<a name="GtkTextTag--size-points"></a>The "<code class="literal">size-points</code>" property</h3>
<a class="indexterm" name="id3038046"></a><pre class="programlisting">  "size-points"          <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a>               : Read / Write</pre>
<p>Font size in points.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038076"></a><h3>
<a name="GtkTextTag--size-set"></a>The "<code class="literal">size-set</code>" property</h3>
<a class="indexterm" name="id3038092"></a><pre class="programlisting">  "size-set"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the font size.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038119"></a><h3>
<a name="GtkTextTag--stretch"></a>The "<code class="literal">stretch</code>" property</h3>
<a class="indexterm" name="id3038134"></a><pre class="programlisting">  "stretch"              <a
href="../pango/pango-Fonts.html#PangoStretch"
>PangoStretch</a>          : Read / Write</pre>
<p>Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED.</p>
<p>Default value: PANGO_STRETCH_NORMAL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038162"></a><h3>
<a name="GtkTextTag--stretch-set"></a>The "<code class="literal">stretch-set</code>" property</h3>
<a class="indexterm" name="id3038179"></a><pre class="programlisting">  "stretch-set"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the font stretch.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038206"></a><h3>
<a name="GtkTextTag--strikethrough"></a>The "<code class="literal">strikethrough</code>" property</h3>
<a class="indexterm" name="id3038222"></a><pre class="programlisting">  "strikethrough"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether to strike through the text.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038249"></a><h3>
<a name="GtkTextTag--strikethrough-set"></a>The "<code class="literal">strikethrough-set</code>" property</h3>
<a class="indexterm" name="id3038266"></a><pre class="programlisting">  "strikethrough-set"    <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects strikethrough.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038293"></a><h3>
<a name="GtkTextTag--style"></a>The "<code class="literal">style</code>" property</h3>
<a class="indexterm" name="id3038309"></a><pre class="programlisting">  "style"                <a
href="../pango/pango-Fonts.html#PangoStyle"
>PangoStyle</a>            : Read / Write</pre>
<p>Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC.</p>
<p>Default value: PANGO_STYLE_NORMAL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038336"></a><h3>
<a name="GtkTextTag--style-set"></a>The "<code class="literal">style-set</code>" property</h3>
<a class="indexterm" name="id3038352"></a><pre class="programlisting">  "style-set"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the font style.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038378"></a><h3>
<a name="GtkTextTag--tabs"></a>The "<code class="literal">tabs</code>" property</h3>
<a class="indexterm" name="id3038394"></a><pre class="programlisting">  "tabs"                 <a
href="../pango/pango-Tab-Stops.html#PangoTabArray"
>PangoTabArray</a>         : Read / Write</pre>
<p>Custom tabs for this text.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038418"></a><h3>
<a name="GtkTextTag--tabs-set"></a>The "<code class="literal">tabs-set</code>" property</h3>
<a class="indexterm" name="id3038434"></a><pre class="programlisting">  "tabs-set"             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects tabs.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038460"></a><h3>
<a name="GtkTextTag--underline"></a>The "<code class="literal">underline</code>" property</h3>
<a class="indexterm" name="id3038477"></a><pre class="programlisting">  "underline"            <a
href="../pango/pango-Text-Attributes.html#PangoUnderline"
>PangoUnderline</a>        : Read / Write</pre>
<p>Style of underline for this text.</p>
<p>Default value: PANGO_UNDERLINE_NONE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038504"></a><h3>
<a name="GtkTextTag--underline-set"></a>The "<code class="literal">underline-set</code>" property</h3>
<a class="indexterm" name="id3038520"></a><pre class="programlisting">  "underline-set"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects underlining.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038547"></a><h3>
<a name="GtkTextTag--variant"></a>The "<code class="literal">variant</code>" property</h3>
<a class="indexterm" name="id3038563"></a><pre class="programlisting">  "variant"              <a
href="../pango/pango-Fonts.html#PangoVariant"
>PangoVariant</a>          : Read / Write</pre>
<p>Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS.</p>
<p>Default value: PANGO_VARIANT_NORMAL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038591"></a><h3>
<a name="GtkTextTag--variant-set"></a>The "<code class="literal">variant-set</code>" property</h3>
<a class="indexterm" name="id3038607"></a><pre class="programlisting">  "variant-set"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the font variant.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038634"></a><h3>
<a name="GtkTextTag--weight"></a>The "<code class="literal">weight</code>" property</h3>
<a class="indexterm" name="id3038650"></a><pre class="programlisting">  "weight"               <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 400</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038681"></a><h3>
<a name="GtkTextTag--weight-set"></a>The "<code class="literal">weight-set</code>" property</h3>
<a class="indexterm" name="id3038697"></a><pre class="programlisting">  "weight-set"           <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects the font weight.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038724"></a><h3>
<a name="GtkTextTag--wrap-mode"></a>The "<code class="literal">wrap-mode</code>" property</h3>
<a class="indexterm" name="id3038740"></a><pre class="programlisting">  "wrap-mode"            <a href="GtkTextTag.html#GtkWrapMode">GtkWrapMode</a>           : Read / Write</pre>
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
<p>Default value: GTK_WRAP_NONE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3038767"></a><h3>
<a name="GtkTextTag--wrap-mode-set"></a>The "<code class="literal">wrap-mode-set</code>" property</h3>
<a class="indexterm" name="id3038784"></a><pre class="programlisting">  "wrap-mode-set"        <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether this tag affects line wrap mode.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3038812"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3038822"></a><h3>
<a name="GtkTextTag-event"></a>The "event" signal</h3>
<a class="indexterm" name="id3038832"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    user_function                  (<a href="GtkTextTag.html" title="GtkTextTag">GtkTextTag</a>  *texttag,
                                            <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>     *arg1,
                                            <a
href="../gdk/gdk-Event-Structures.html#GdkEvent"
>GdkEvent</a>    *event,
                                            <a href="gtk-GtkTextIter.html#GtkTextIter">GtkTextIter</a> *arg2,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run last</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>texttag</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>event</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>

</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>