1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
|
<!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 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 class="tabs">
<ul>
<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="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class 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-widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/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" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& uri, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& label)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>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" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/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>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>* </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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, <a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>*, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/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>
</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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>label</em></td><td> </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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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="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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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="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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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="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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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="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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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="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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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 border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uri</em> </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" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/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 border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>slot</em> </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 </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 border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>visited</em> </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>. </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 * </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><td> </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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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> </td><td>The C instance. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|