Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5064bd6ba407d22c90434e813fa71b5d > files > 38

pangomm-doc-2.28.4-4.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pangomm: Pango::AttrList Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">pangomm&#160;<span id="projectnumber">2.28.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacePango.html">Pango</a> </li>
      <li class="navelem"><a class="el" href="classPango_1_1AttrList.html">AttrList</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<div class="title">Pango::AttrList Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Pango::AttrList" -->
<p>A <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">Pango::AttrList</a> represents a list of attributes that apply to a section of text.  <a href="classPango_1_1AttrList.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Pango::AttrList:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1AttrList__coll__graph.png" border="0" usemap="#Pango_1_1AttrList_coll__map" alt="Collaboration graph"/></div>
<map name="Pango_1_1AttrList_coll__map" id="Pango_1_1AttrList_coll__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classPango_1_1AttrList-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#ad2e90f6e8ba5f41069a116d06b0cba27">AttrList</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#afa8cc4cdea17168ebe5c3e3a4015fed9">AttrList</a> (PangoAttrList* gobject, bool make_a_copy=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a8b69cd9f9eb7aa16751f74476cf34ed2">AttrList</a> (const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#aa5ae00b0f7117c4d3de2fed2461c2654">operator=</a> (const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#acc08c6591213b710d629cc03e0d47b37">~AttrList</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a6d7f38890f77edbda1b76ede07ca270c">swap</a> (<a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoAttrList*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a2bf50400f982c73b8dc58c27fd0061f5">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a2bf50400f982c73b8dc58c27fd0061f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const PangoAttrList*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#aede3d19a8e528aa622a146c0150da5cb">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#aede3d19a8e528aa622a146c0150da5cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoAttrList*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a1bd40b783268ec3ccce787f05eccb94b">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</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="#a1bd40b783268ec3ccce787f05eccb94b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#ae4e9efd77bd212f1833d3d2ffc87a9b0">AttrList</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup_text, gunichar accel_marker=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an attribute list by parsing a marked-up text (see markup format). <a href="#ae4e9efd77bd212f1833d3d2ffc87a9b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#ace470e8057d48dfd35fb8fa281f5e9f0">AttrList</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup_text, gunichar accel_marker, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text, gunichar&amp; accel_char)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an attribute list by parsing a marked-up text (see markup format). <a href="#ace470e8057d48dfd35fb8fa281f5e9f0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a752876b8e4954110eae92f17f0347fdd">operator bool</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a83f07b5a3de9295369b051cb577b9e54">operator bool</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether the <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">AttrList</a> is valid. <a href="#a83f07b5a3de9295369b051cb577b9e54"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a65f766ed811132bd1b13580b3df60c53">insert</a> (<a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp; attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a8349cd1ba7fb0c73d6ce777e0df37ac6">insert_before</a> (<a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp; attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a5a44a3cdf4ffa20ccfa7bc12b2a28d73">change</a> (<a class="el" href="classPango_1_1Attribute.html">Attribute</a>&amp; attr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a42f6abf1419006ddfffdf8834e41db5d">splice</a> (<a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; other, int pos, int len)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a42f6abf1419006ddfffdf8834e41db5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrIter.html">AttrIter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a624a4900d499f6326ee03f26e43ae48b">get_iter</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a iterator initialized to the beginning of the list. <a href="#a624a4900d499f6326ee03f26e43ae48b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoAttrList*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#ab3c35cd26ab826d87a8830564489f4bf">gobject_</a></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a08cef97f39c0345e3cdbd7a13941d6f9">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="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrList.html">Pango::AttrList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrList.html#a3a2b309c291bbbd832da6ca496a5648d">wrap</a> (PangoAttrList* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a3a2b309c291bbbd832da6ca496a5648d"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">Pango::AttrList</a> represents a list of attributes that apply to a section of text. </p>
<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#a5a44a3cdf4ffa20ccfa7bc12b2a28d73">Pango::AttrList::change()</a>, the overlap between properties will meet stricter criteria.</p>
<p>Since the <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">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" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">Pango::AttrList</a> for more than one paragraph of text.</p>
<p>When obtaining an <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">AttrList</a>, you should check that it is valid. For instance, if(attrlist). </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad2e90f6e8ba5f41069a116d06b0cba27"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="ad2e90f6e8ba5f41069a116d06b0cba27" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afa8cc4cdea17168ebe5c3e3a4015fed9"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="afa8cc4cdea17168ebe5c3e3a4015fed9" 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 *&#160;</td>
          <td class="paramname"><em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>make_a_copy</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8b69cd9f9eb7aa16751f74476cf34ed2"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="a8b69cd9f9eb7aa16751f74476cf34ed2" 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;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acc08c6591213b710d629cc03e0d47b37"></a><!-- doxytag: member="Pango::AttrList::~AttrList" ref="acc08c6591213b710d629cc03e0d47b37" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae4e9efd77bd212f1833d3d2ffc87a9b0"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="ae4e9efd77bd212f1833d3d2ffc87a9b0" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>markup_text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar&#160;</td>
          <td class="paramname"><em>accel_marker</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><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>
<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#ggabbd069e35161c1ad698b7f1fe70aec57a10f84a67fc43406f330a66400baf2577">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><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">markup_text</td><td>Markup to parse (see markup format). </td></tr>
    <tr><td class="paramname">accel_marker</td><td>Character that precedes an accelerator, or <code>0</code> for none. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ace470e8057d48dfd35fb8fa281f5e9f0"></a><!-- doxytag: member="Pango::AttrList::AttrList" ref="ace470e8057d48dfd35fb8fa281f5e9f0" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>markup_text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar&#160;</td>
          <td class="paramname"><em>accel_marker</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar &amp;&#160;</td>
          <td class="paramname"><em>accel_char</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs an attribute list by parsing a marked-up text (see markup format). </p>
<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#ggabbd069e35161c1ad698b7f1fe70aec57a10f84a67fc43406f330a66400baf2577">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><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">markup_text</td><td>Markup to parse (see markup format). </td></tr>
    <tr><td class="paramname">accel_marker</td><td>Character that precedes an accelerator, or <code>0</code> for none. </td></tr>
    <tr><td class="paramname">text</td><td>Return location for text with tags stripped. </td></tr>
    <tr><td class="paramname">accel_char</td><td>Return location for accelerator char. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5a44a3cdf4ffa20ccfa7bc12b2a28d73"></a><!-- doxytag: member="Pango::AttrList::change" ref="a5a44a3cdf4ffa20ccfa7bc12b2a28d73" 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;&#160;</td>
          <td class="paramname"><em>attr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a624a4900d499f6326ee03f26e43ae48b"></a><!-- doxytag: member="Pango::AttrList::get_iter" ref="a624a4900d499f6326ee03f26e43ae48b" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a2bf50400f982c73b8dc58c27fd0061f5"></a><!-- doxytag: member="Pango::AttrList::gobj" ref="a2bf50400f982c73b8dc58c27fd0061f5" 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>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="aede3d19a8e528aa622a146c0150da5cb"></a><!-- doxytag: member="Pango::AttrList::gobj" ref="aede3d19a8e528aa622a146c0150da5cb" 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>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a1bd40b783268ec3ccce787f05eccb94b"></a><!-- doxytag: member="Pango::AttrList::gobj_copy" ref="a1bd40b783268ec3ccce787f05eccb94b" 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>)</td>
          <td> 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>
<a class="anchor" id="a65f766ed811132bd1b13580b3df60c53"></a><!-- doxytag: member="Pango::AttrList::insert" ref="a65f766ed811132bd1b13580b3df60c53" 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;&#160;</td>
          <td class="paramname"><em>attr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8349cd1ba7fb0c73d6ce777e0df37ac6"></a><!-- doxytag: member="Pango::AttrList::insert_before" ref="a8349cd1ba7fb0c73d6ce777e0df37ac6" 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;&#160;</td>
          <td class="paramname"><em>attr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a83f07b5a3de9295369b051cb577b9e54"></a><!-- doxytag: member="Pango::AttrList::operator bool" ref="a83f07b5a3de9295369b051cb577b9e54" args="() const " -->
<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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tests whether the <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">AttrList</a> is valid. </p>

</div>
</div>
<a class="anchor" id="a752876b8e4954110eae92f17f0347fdd"></a><!-- doxytag: member="Pango::AttrList::operator bool" ref="a752876b8e4954110eae92f17f0347fdd" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Use the const version </dd></dl>

</div>
</div>
<a class="anchor" id="aa5ae00b0f7117c4d3de2fed2461c2654"></a><!-- doxytag: member="Pango::AttrList::operator=" ref="aa5ae00b0f7117c4d3de2fed2461c2654" 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;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a42f6abf1419006ddfffdf8834e41db5d"></a><!-- doxytag: member="Pango::AttrList::splice" ref="a42f6abf1419006ddfffdf8834e41db5d" 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;&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>
<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 <a class="el" href="classPango_1_1AttrList.html#a5a44a3cdf4ffa20ccfa7bc12b2a28d73">change()</a> with a copy of each attribute in <em>other</em> in sequence (offset in position by <em>pos</em>).</p>
<p>This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>Another <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">Pango::AttrList</a>. </td></tr>
    <tr><td class="paramname">pos</td><td>The position in <em>list</em> at which to insert <em>other</em>. </td></tr>
    <tr><td class="paramname">len</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>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6d7f38890f77edbda1b76ede07ca270c"></a><!-- doxytag: member="Pango::AttrList::swap" ref="a6d7f38890f77edbda1b76ede07ca270c" 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;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a08cef97f39c0345e3cdbd7a13941d6f9"></a><!-- doxytag: member="Pango::AttrList::swap" ref="a08cef97f39c0345e3cdbd7a13941d6f9" 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;&#160;</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;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3a2b309c291bbbd832da6ca496a5648d"></a><!-- doxytag: member="Pango::AttrList::wrap" ref="a3a2b309c291bbbd832da6ca496a5648d" 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 *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</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>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

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

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>pangomm/attrlist.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Oct 26 2011 13:10:53 for pangomm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>