Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 440

gtkmm2.4-doc-2.20.3-1mdv2010.1.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>gtkmm: Gtk::LinkButton 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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <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 class="tabs">
    <ul>
      <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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1LinkButton.html">LinkButton</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::LinkButton Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::LinkButton" --><!-- doxytag: inherits="Gtk::Button" -->
<p>Create buttons bound to a URL. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Button.html">Gtk::Button</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::LinkButton:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1LinkButton__coll__graph.png" border="0" usemap="#Gtk_1_1LinkButton_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1LinkButton_coll__map" id="Gtk_1_1LinkButton_coll__map">
<area shape="rect" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on." alt="" coords="69,547,157,576"/><area shape="rect" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="79,469,148,499"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,392,165,421"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,315,159,344"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,35"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1LinkButton-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
<a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>*, const <br class="typebreak"/>
<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a32709649516d5e155b4cb814a70747b4">SlotUri</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, void on_linkbutton_uri(Gtk::LinkButton *button, const Glib::ustring&amp; uri);. <a href="#a32709649516d5e155b4cb814a70747b4"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#af00e7781dcfbb22794a4888d91cefcfb">~LinkButton</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkLinkButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a01e2192f9822c37b815fc6d1d2e33d84">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a01e2192f9822c37b815fc6d1d2e33d84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkLinkButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a33cb4ef15934e907b80b266ad8c862d2">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a33cb4ef15934e907b80b266ad8c862d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a9e945e76051cf4b10a479432280154b0">LinkButton</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a74eb16e81540ba56ec819e75833a8bee">LinkButton</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a9c5aac6925b91bf5b80521bd11789339">LinkButton</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#aa2e63f4944d99e0ccb385a0a8ac00ec0">get_uri</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the URI set using <a class="el" href="classGtk_1_1LinkButton.html#a1c9e4f2925219604883f48499382f7fa" title="Sets uri as the URI where the Gtk::LinkButton points.">set_uri()</a>. <a href="#aa2e63f4944d99e0ccb385a0a8ac00ec0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a1c9e4f2925219604883f48499382f7fa">set_uri</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>uri</em> as the URI where the <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> points. <a href="#a1c9e4f2925219604883f48499382f7fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a2662ac4e14b3aa9b5c327a78dc448aea">get_visited</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the 'visited' state of the URI where the <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> points. <a href="#a2662ac4e14b3aa9b5c327a78dc448aea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#acc166b4be292555b232d824fea7de52c">set_visited</a> (bool visited=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the 'visited' state of the URI where the <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> points. <a href="#acc166b4be292555b232d824fea7de52c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a972644eb9d9a2ff306c16cdcd40718f2">property_uri</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The URI bound to this button. <a href="#a972644eb9d9a2ff306c16cdcd40718f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#ab517eeba282a51953e13019d82e97111">property_uri</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The URI bound to this button. <a href="#ab517eeba282a51953e13019d82e97111"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a2d6411d050993ae06160ca0662b7467f">property_visited</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this link has been visited. <a href="#a2d6411d050993ae06160ca0662b7467f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a547cfd8a248bb376f68eb060bb60d387">property_visited</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this link has been visited. <a href="#a547cfd8a248bb376f68eb060bb60d387"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a39dd06e4ccff7e94ba4564227d593fa0">set_uri_hook</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotUri</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets slot as the function that should be invoked every time a user clicks a <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">LinkButton</a>. <a href="#a39dd06e4ccff7e94ba4564227d593fa0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a9fc2b98375a8527dde28883929bbdeeb">unset_uri_hook</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsets any previously set slot as the function that should be invoked every time a user clicks a <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">LinkButton</a>. <a href="#a9fc2b98375a8527dde28883929bbdeeb"></a><br/></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a5b87ae1c3eea47dee4af988eb8c9d2a1">wrap</a> (GtkLinkButton* 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="#a5b87ae1c3eea47dee4af988eb8c9d2a1"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Create buttons bound to a URL. </p>
<p>A <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> is a <a class="el" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on.">Gtk::Button</a> with a hyperlink, similar to the one used by web browsers, which triggers an action when clicked. It is useful to show quick links to resources.</p>
<p>The URI bound to a <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> can be set specifically using <a class="el" href="classGtk_1_1LinkButton.html#a1c9e4f2925219604883f48499382f7fa" title="Sets uri as the URI where the Gtk::LinkButton points.">set_uri()</a>, and retrieved using <a class="el" href="classGtk_1_1LinkButton.html#aa2e63f4944d99e0ccb385a0a8ac00ec0" title="Retrieves the URI set using set_uri().">get_uri()</a>. <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> offers a global hook, which is called when the used clicks on it: see <a class="el" href="classGtk_1_1LinkButton.html#a39dd06e4ccff7e94ba4564227d593fa0" title="Sets slot as the function that should be invoked every time a user clicks a LinkButton...">set_uri_hook()</a>.</p>
<p>The <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">LinkButton</a> widget looks like this: </p>
<div align="center">
<img src="linkbutton1.png" alt="linkbutton1.png"/>
</div>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000065">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a32709649516d5e155b4cb814a70747b4"></a><!-- doxytag: member="Gtk::LinkButton::SlotUri" ref="a32709649516d5e155b4cb814a70747b4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, <a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>*, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::LinkButton::SlotUri</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, void on_linkbutton_uri(Gtk::LinkButton *button, const Glib::ustring&amp; uri);. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1LinkButton.html#a39dd06e4ccff7e94ba4564227d593fa0" title="Sets slot as the function that should be invoked every time a user clicks a LinkButton...">set_uri_hook()</a>. </dd></dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af00e7781dcfbb22794a4888d91cefcfb"></a><!-- doxytag: member="Gtk::LinkButton::~LinkButton" ref="af00e7781dcfbb22794a4888d91cefcfb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::LinkButton::~LinkButton </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9e945e76051cf4b10a479432280154b0"></a><!-- doxytag: member="Gtk::LinkButton::LinkButton" ref="a9e945e76051cf4b10a479432280154b0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::LinkButton::LinkButton </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a74eb16e81540ba56ec819e75833a8bee"></a><!-- doxytag: member="Gtk::LinkButton::LinkButton" ref="a74eb16e81540ba56ec819e75833a8bee" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::LinkButton::LinkButton </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>uri</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9c5aac6925b91bf5b80521bd11789339"></a><!-- doxytag: member="Gtk::LinkButton::LinkButton" ref="a9c5aac6925b91bf5b80521bd11789339" args="(const Glib::ustring &amp;uri, const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::LinkButton::LinkButton </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>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>label</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa2e63f4944d99e0ccb385a0a8ac00ec0"></a><!-- doxytag: member="Gtk::LinkButton::get_uri" ref="aa2e63f4944d99e0ccb385a0a8ac00ec0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::LinkButton::get_uri </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the URI set using <a class="el" href="classGtk_1_1LinkButton.html#a1c9e4f2925219604883f48499382f7fa" title="Sets uri as the URI where the Gtk::LinkButton points.">set_uri()</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000066">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A valid URI. The returned string is owned by the link button and should not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a2662ac4e14b3aa9b5c327a78dc448aea"></a><!-- doxytag: member="Gtk::LinkButton::get_visited" ref="a2662ac4e14b3aa9b5c327a78dc448aea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::LinkButton::get_visited </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the 'visited' state of the URI where the <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> points. </p>
<p>The button becomes visited when it is clicked. If the URI is changed on the button, the 'visited' state is unset again.</p>
<p>The state may also be changed using <a class="el" href="classGtk_1_1LinkButton.html#acc166b4be292555b232d824fea7de52c" title="Sets the &#39;visited&#39; state of the URI where the Gtk::LinkButton points.">set_visited()</a>.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000096">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the link has been visited, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a33cb4ef15934e907b80b266ad8c862d2"></a><!-- doxytag: member="Gtk::LinkButton::gobj" ref="a33cb4ef15934e907b80b266ad8c862d2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkLinkButton* Gtk::LinkButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1Button.html#a9ea06156c54545902608286d1a0d0e42">Gtk::Button</a>.</p>

</div>
</div>
<a class="anchor" id="a01e2192f9822c37b815fc6d1d2e33d84"></a><!-- doxytag: member="Gtk::LinkButton::gobj" ref="a01e2192f9822c37b815fc6d1d2e33d84" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkLinkButton* Gtk::LinkButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1Button.html#aac9db3896fa8b7576c6f3720846faa1c">Gtk::Button</a>.</p>

</div>
</div>
<a class="anchor" id="ab517eeba282a51953e13019d82e97111"></a><!-- doxytag: member="Gtk::LinkButton::property_uri" ref="ab517eeba282a51953e13019d82e97111" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::LinkButton::property_uri </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The URI bound to this button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a972644eb9d9a2ff306c16cdcd40718f2"></a><!-- doxytag: member="Gtk::LinkButton::property_uri" ref="a972644eb9d9a2ff306c16cdcd40718f2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::LinkButton::property_uri </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The URI bound to this button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a547cfd8a248bb376f68eb060bb60d387"></a><!-- doxytag: member="Gtk::LinkButton::property_visited" ref="a547cfd8a248bb376f68eb060bb60d387" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::LinkButton::property_visited </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether this link has been visited. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a2d6411d050993ae06160ca0662b7467f"></a><!-- doxytag: member="Gtk::LinkButton::property_visited" ref="a2d6411d050993ae06160ca0662b7467f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::LinkButton::property_visited </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether this link has been visited. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a1c9e4f2925219604883f48499382f7fa"></a><!-- doxytag: member="Gtk::LinkButton::set_uri" ref="a1c9e4f2925219604883f48499382f7fa" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::LinkButton::set_uri </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>uri</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>uri</em> as the URI where the <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> points. </p>
<p>As a side-effect this unsets the 'visited' state of the button.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000067">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A valid URI. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a39dd06e4ccff7e94ba4564227d593fa0"></a><!-- doxytag: member="Gtk::LinkButton::set_uri_hook" ref="a39dd06e4ccff7e94ba4564227d593fa0" args="(const SlotUri &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::LinkButton::set_uri_hook </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotUri</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets slot as the function that should be invoked every time a user clicks a <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">LinkButton</a>. </p>
<p>This function is called before every signal handler registered for the "clicked" signal.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>A function called each time a <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">LinkButton</a> is clicked. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000048">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="acc166b4be292555b232d824fea7de52c"></a><!-- doxytag: member="Gtk::LinkButton::set_visited" ref="acc166b4be292555b232d824fea7de52c" args="(bool visited=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::LinkButton::set_visited </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>visited</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the 'visited' state of the URI where the <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">Gtk::LinkButton</a> points. </p>
<p>See <a class="el" href="classGtk_1_1LinkButton.html#a2662ac4e14b3aa9b5c327a78dc448aea" title="Retrieves the &#39;visited&#39; state of the URI where the Gtk::LinkButton points...">get_visited()</a> for more details.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000097">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>visited</em>&#160;</td><td>The new 'visited' state. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9fc2b98375a8527dde28883929bbdeeb"></a><!-- doxytag: member="Gtk::LinkButton::unset_uri_hook" ref="a9fc2b98375a8527dde28883929bbdeeb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::LinkButton::unset_uri_hook </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unsets any previously set slot as the function that should be invoked every time a user clicks a <a class="el" href="classGtk_1_1LinkButton.html" title="Create buttons bound to a URL.">LinkButton</a>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1LinkButton.html#a39dd06e4ccff7e94ba4564227d593fa0" title="Sets slot as the function that should be invoked every time a user clicks a LinkButton...">set_uri_hook()</a>. </dd></dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000049">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5b87ae1c3eea47dee4af988eb8c9d2a1"></a><!-- doxytag: member="Gtk::LinkButton::wrap" ref="a5b87ae1c3eea47dee4af988eb8c9d2a1" args="(GtkLinkButton *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkLinkButton *&#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></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/linkbutton.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:54 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>