<!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.7.3 --> <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">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li> <li class="navelem"><a class="el" href="classGtk_1_1LinkButton.html">LinkButton</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::LinkButton Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a></div></h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::LinkButton" --><!-- doxytag: inherits="Gtk::Button" --> <p>Create buttons bound to a URL. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::LinkButton:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1LinkButton__inherit__graph.png" border="0" usemap="#Gtk_1_1LinkButton_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1LinkButton_inherit__map" id="Gtk_1_1LinkButton_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on." alt="" coords="89,547,183,576"/><area shape="rect" id="node4" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="100,469,172,499"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="79,392,193,421"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::LinkButton:</div> <div class="dyncontent"> <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" id="node2" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on." alt="" coords="89,547,183,576"/><area shape="rect" id="node4" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="100,469,172,499"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="79,392,193,421"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,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 class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> 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>< 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>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a32709649516d5e155b4cb814a70747b4">SlotUri</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">For instance, void on_linkbutton_uri(Gtk::LinkButton *button, const Glib::ustring& uri);. <a href="#a32709649516d5e155b4cb814a70747b4"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </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* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a01e2192f9822c37b815fc6d1d2e33d84">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </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* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a33cb4ef15934e907b80b266ad8c862d2">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </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"> </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"> </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>& uri)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </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>& uri, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& 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> </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"> </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 </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>& uri)</td></tr> <tr><td class="mdescLeft"> </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 </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"> </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 </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"> </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"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a972644eb9d9a2ff306c16cdcd40718f2">property_uri</a> ()</td></tr> <tr><td class="mdescLeft"> </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"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </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"> </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>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1LinkButton.html#a2d6411d050993ae06160ca0662b7467f">property_visited</a> ()</td></tr> <tr><td class="mdescLeft"> </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"/> < bool > </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"> </td><td class="mdescRight">Whether this link has been visited. <a href="#a547cfd8a248bb376f68eb060bb60d387"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void </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>& slot)</td></tr> <tr><td class="mdescLeft"> </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 </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"> </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><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>* </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"> </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> <div class="textblock"><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> </div><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><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>&> <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& 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> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000058">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1Button.html#a515244a851fd9874cc481cdfc5ebf512">Button::signal_clicked()</a> instead. </dd></dl> </div> </div> <hr/><h2>Constructor & 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>)</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>)</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 &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> & </td> <td class="paramname"><em>uri</em></td><td>)</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 &uri, const Glib::ustring &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> & </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> & </td> <td class="paramname"><em>label</em> </td> </tr> <tr> <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>)</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>)</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 'visited' 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>)</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>)</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="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><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::LinkButton::property_uri </td> <td>(</td> <td class="paramname"></td><td>)</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="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><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::LinkButton::property_uri </td> <td>(</td> <td class="paramname"></td><td>)</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="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><bool> Gtk::LinkButton::property_visited </td> <td>(</td> <td class="paramname"></td><td>)</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="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><bool> Gtk::LinkButton::property_visited </td> <td>(</td> <td class="paramname"></td><td>)</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="a1c9e4f2925219604883f48499382f7fa"></a><!-- doxytag: member="Gtk::LinkButton::set_uri" ref="a1c9e4f2925219604883f48499382f7fa" args="(const Glib::ustring &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> & </td> <td class="paramname"><em>uri</em></td><td>)</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 class="params"> <tr><td class="paramname">uri</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 &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> & </td> <td class="paramname"><em>slot</em></td><td>)</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 class="params"> <tr><td class="paramname">slot</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> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000059">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1Button.html#a515244a851fd9874cc481cdfc5ebf512">Button::signal_clicked()</a> instead. </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 </td> <td class="paramname"><em>visited</em> = <code>true</code></td><td>)</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 'visited' 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 class="params"> <tr><td class="paramname">visited</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>)</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>. {2,</dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000060">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1Button.html#a515244a851fd9874cc481cdfc5ebf512">Button::signal_clicked()</a> instead. </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 * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </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/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/linkbutton.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>