Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 9411cff4bc6d4e61b29ae81cd24665af > files > 881

gtkmm2.4-doc-2.12.7-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkmm 2.4: Pango::AttrList Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>
<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespacePango.html">Pango</a>::<a class="el" href="classPango_1_1AttrList.html">AttrList</a></div>
<h1>Pango::AttrList Class Reference</h1><!-- doxytag: class="Pango::AttrList" --><a href="classPango_1_1AttrList-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a> represents a list of attributes that apply to a section of text. 
<p>
The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through <a class="el" href="classPango_1_1AttrList.html#5a44a3cdf4ffa20ccfa7bc12b2a28d73">Pango::AttrList::change()</a>, the overlap between properties will meet stricter criteria.<p>
Since the <a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a> structure is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single <a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a> for more than one paragraph of text.<p>
When obtaining an <a class="el" href="classPango_1_1AttrList.html">AttrList</a>, you should check that it is valid. For instance, if(attrlist). 
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#ce470e8057d48dfd35fb8fa281f5e9f0">AttrList</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup_text, gunichar accel_marker, <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text, gunichar&amp; accel_char)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs an attribute list by parsing a marked-up text (see markup format).  <a href="#ce470e8057d48dfd35fb8fa281f5e9f0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#e4e9efd77bd212f1833d3d2ffc87a9b0">AttrList</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup_text, gunichar accel_marker=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs an attribute list by parsing a marked-up text (see markup format).  <a href="#e4e9efd77bd212f1833d3d2ffc87a9b0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#8b69cd9f9eb7aa16751f74476cf34ed2">AttrList</a> (const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#fa8cc4cdea17168ebe5c3e3a4015fed9">AttrList</a> (PangoAttrList* gobject, bool make_a_copy=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#d2e90f6e8ba5f41069a116d06b0cba27">AttrList</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#5a44a3cdf4ffa20ccfa7bc12b2a28d73">change</a> (<a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp; attr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1AttrIter.html">AttrIter</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#624a4900d499f6326ee03f26e43ae48b">get_iter</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a iterator initialized to the beginning of the list.  <a href="#624a4900d499f6326ee03f26e43ae48b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const PangoAttrList*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#bc3bd4ea342177832950f671e09d5c36">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#bc3bd4ea342177832950f671e09d5c36"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PangoAttrList*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#2bf50400f982c73b8dc58c27fd0061f5">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#2bf50400f982c73b8dc58c27fd0061f5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PangoAttrList*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#554be7a20e7d8a050af93136b3c5cad8">gobj_copy</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.  <a href="#554be7a20e7d8a050af93136b3c5cad8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#65f766ed811132bd1b13580b3df60c53">insert</a> (<a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp; attr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#8349cd1ba7fb0c73d6ce777e0df37ac6">insert_before</a> (<a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp; attr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#752876b8e4954110eae92f17f0347fdd">operator bool</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests whether the <a class="el" href="classPango_1_1AttrList.html">AttrList</a> is valid.  <a href="#752876b8e4954110eae92f17f0347fdd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a5ae00b0f7117c4d3de2fed2461c2654">operator=</a> (const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#42f6abf1419006ddfffdf8834e41db5d">splice</a> (<a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other, int pos, int len)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function opens up a hole in <em>list</em> , fills it in with attributes from the left, and then merges <em>other</em> on top of the hole.  <a href="#42f6abf1419006ddfffdf8834e41db5d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#6d7f38890f77edbda1b76ede07ca270c">swap</a> (<a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#cc08c6591213b710d629cc03e0d47b37">~AttrList</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PangoAttrList*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#b3c35cd26ab826d87a8830564489f4bf">gobject_</a></td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#08cef97f39c0345e3cdbd7a13941d6f9">swap</a> (<a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; lhs, <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; rhs)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lhs</em>&nbsp;</td><td>The left-hand side </td></tr>
  </table>
</dl>
 <a href="#08cef97f39c0345e3cdbd7a13941d6f9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#3a2b309c291bbbd832da6ca496a5648d">wrap</a> (PangoAttrList* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#3a2b309c291bbbd832da6ca496a5648d"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d2e90f6e8ba5f41069a116d06b0cba27"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="d2e90f6e8ba5f41069a116d06b0cba27" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::AttrList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fa8cc4cdea17168ebe5c3e3a4015fed9"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="fa8cc4cdea17168ebe5c3e3a4015fed9" args="(PangoAttrList *gobject, bool make_a_copy=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::AttrList           </td>
          <td>(</td>
          <td class="paramtype">PangoAttrList *&nbsp;</td>
          <td class="paramname"> <em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>make_a_copy</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8b69cd9f9eb7aa16751f74476cf34ed2"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="8b69cd9f9eb7aa16751f74476cf34ed2" args="(const AttrList &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::AttrList           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="cc08c6591213b710d629cc03e0d47b37"></a><!-- doxytag: member="Pango::AttrList::~AttrList" ref="cc08c6591213b710d629cc03e0d47b37" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::~AttrList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e4e9efd77bd212f1833d3d2ffc87a9b0"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="e4e9efd77bd212f1833d3d2ffc87a9b0" args="(const Glib::ustring &amp;markup_text, gunichar accel_marker=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::AttrList           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>markup_text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar&nbsp;</td>
          <td class="paramname"> <em>accel_marker</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs an attribute list by parsing a marked-up text (see markup format). 
<p>
If <em>accel_marker</em> is nonzero, the given character will mark the character following it as an accelerator. For example, the accel marker might be an ampersand or underscore. All characters marked as an accelerator will receive a <a class="el" href="group__pangommEnums.html#ggbbd069e35161c1ad698b7f1fe70aec5710f84a67fc43406f330a66400baf2577">Pango::UNDERLINE_LOW</a> attribute. Two <em>accel_marker</em> characters following each other produce a single literal <em>accel_marker</em> character.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>markup_text</em>&nbsp;</td><td>Markup to parse (see markup format). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_marker</em>&nbsp;</td><td>Character that precedes an accelerator, or <code>0</code> for none. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="ce470e8057d48dfd35fb8fa281f5e9f0"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="ce470e8057d48dfd35fb8fa281f5e9f0" args="(const Glib::ustring &amp;markup_text, gunichar accel_marker, Glib::ustring &amp;text, gunichar &amp;accel_char)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::AttrList           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>markup_text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar&nbsp;</td>
          <td class="paramname"> <em>accel_marker</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar &amp;&nbsp;</td>
          <td class="paramname"> <em>accel_char</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs an attribute list by parsing a marked-up text (see markup format). 
<p>
<em>text</em> is set to the plaintext string. If <em>accel_marker</em> is nonzero, the given character will mark the character following it as an accelerator. For example, the accel marker might be an ampersand or underscore. All characters marked as an accelerator will receive a <a class="el" href="group__pangommEnums.html#ggbbd069e35161c1ad698b7f1fe70aec5710f84a67fc43406f330a66400baf2577">Pango::UNDERLINE_LOW</a> attribute. The first character so marked will be returned in <em>accel_char</em>. Two <em>accel_marker</em> characters following each other produce a single literal <em>accel_marker</em> character.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>markup_text</em>&nbsp;</td><td>Markup to parse (see markup format). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_marker</em>&nbsp;</td><td>Character that precedes an accelerator, or <code>0</code> for none. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Return location for text with tags stripped. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_char</em>&nbsp;</td><td>Return location for accelerator char. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5a44a3cdf4ffa20ccfa7bc12b2a28d73"></a><!-- doxytag: member="Pango::AttrList::change" ref="5a44a3cdf4ffa20ccfa7bc12b2a28d73" args="(Attribute &amp;attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::AttrList::change           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>attr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="624a4900d499f6326ee03f26e43ae48b"></a><!-- doxytag: member="Pango::AttrList::get_iter" ref="624a4900d499f6326ee03f26e43ae48b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1AttrIter.html">AttrIter</a> Pango::AttrList::get_iter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a iterator initialized to the beginning of the list. 
<p>
<em>list</em> must not be modified until this iterator is freed. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The newly allocated Pango::AttrIterator, which should be freed with pango_attr_iterator_destroy(). </dd></dl>

</div>
</div><p>
<a class="anchor" name="bc3bd4ea342177832950f671e09d5c36"></a><!-- doxytag: member="Pango::AttrList::gobj" ref="bc3bd4ea342177832950f671e09d5c36" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PangoAttrList* Pango::AttrList::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. 
<p>

</div>
</div><p>
<a class="anchor" name="2bf50400f982c73b8dc58c27fd0061f5"></a><!-- doxytag: member="Pango::AttrList::gobj" ref="2bf50400f982c73b8dc58c27fd0061f5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoAttrList* Pango::AttrList::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. 
<p>

</div>
</div><p>
<a class="anchor" name="554be7a20e7d8a050af93136b3c5cad8"></a><!-- doxytag: member="Pango::AttrList::gobj_copy" ref="554be7a20e7d8a050af93136b3c5cad8" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoAttrList* Pango::AttrList::gobj_copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. 
<p>

</div>
</div><p>
<a class="anchor" name="65f766ed811132bd1b13580b3df60c53"></a><!-- doxytag: member="Pango::AttrList::insert" ref="65f766ed811132bd1b13580b3df60c53" args="(Attribute &amp;attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::AttrList::insert           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>attr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8349cd1ba7fb0c73d6ce777e0df37ac6"></a><!-- doxytag: member="Pango::AttrList::insert_before" ref="8349cd1ba7fb0c73d6ce777e0df37ac6" args="(Attribute &amp;attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::AttrList::insert_before           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>attr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="752876b8e4954110eae92f17f0347fdd"></a><!-- doxytag: member="Pango::AttrList::operator bool" ref="752876b8e4954110eae92f17f0347fdd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrList::operator bool           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tests whether the <a class="el" href="classPango_1_1AttrList.html">AttrList</a> is valid. 
<p>

</div>
</div><p>
<a class="anchor" name="a5ae00b0f7117c4d3de2fed2461c2654"></a><!-- doxytag: member="Pango::AttrList::operator=" ref="a5ae00b0f7117c4d3de2fed2461c2654" args="(const AttrList &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; Pango::AttrList::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="42f6abf1419006ddfffdf8834e41db5d"></a><!-- doxytag: member="Pango::AttrList::splice" ref="42f6abf1419006ddfffdf8834e41db5d" args="(AttrList &amp;other, int pos, int len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::AttrList::splice           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function opens up a hole in <em>list</em> , fills it in with attributes from the left, and then merges <em>other</em> on top of the hole. 
<p>
This operation is equivalent to stretching every attribute that applies at position <em>pos</em> in <em>list</em> by an amount <em>len</em> , and then calling pango_attr_list_change() with a copy of each attribute in <em>other</em> in sequence (offset in position by <em>pos</em> ).<p>
This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>Another <a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>The position in <em>list</em> at which to insert <em>other</em> . </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>The length of the spliced segment. (Note that this must be specified since the attributes in <em>other</em> may only be present at some subsection of this range). </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="6d7f38890f77edbda1b76ede07ca270c"></a><!-- doxytag: member="Pango::AttrList::swap" ref="6d7f38890f77edbda1b76ede07ca270c" args="(AttrList &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::AttrList::swap           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="08cef97f39c0345e3cdbd7a13941d6f9"></a><!-- doxytag: member="Pango::AttrList::swap" ref="08cef97f39c0345e3cdbd7a13941d6f9" args="(AttrList &amp;lhs, AttrList &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void swap           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lhs</em>&nbsp;</td><td>The left-hand side </td></tr>
  </table>
</dl>

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>The right-hand side </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="3a2b309c291bbbd832da6ca496a5648d"></a><!-- doxytag: member="Pango::AttrList::wrap" ref="3a2b309c291bbbd832da6ca496a5648d" args="(PangoAttrList *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a> wrap           </td>
          <td>(</td>
          <td class="paramtype">PangoAttrList *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="b3c35cd26ab826d87a8830564489f4bf"></a><!-- doxytag: member="Pango::AttrList::gobject_" ref="b3c35cd26ab826d87a8830564489f4bf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoAttrList* <a class="el" href="classPango_1_1AttrList.html#b3c35cd26ab826d87a8830564489f4bf">Pango::AttrList::gobject_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="attrlist_8h.html">attrlist.h</a></ul>
</div>
<!-- end main content -->

<hr><address><small>
Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>