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 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865
|
<!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::RecentInfo 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_1RecentInfo.html">RecentInfo</a>
</div>
</div>
<div class="contents">
<h1>Gtk::RecentInfo Class Reference<br/>
<small>
[<a class="el" href="group__RecentFiles.html">RecentFiles</a>]</small>
</h1><!-- doxytag: class="Gtk::RecentInfo" -->
<p>Contains informations found when looking up an entry of the recently used files list. <a href="#_details">More...</a></p>
<p><a href="classGtk_1_1RecentInfo-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#acf93d2d5bcdf29d3c668b2c8edfd6ab6">reference</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Increment the reference count for this object. <a href="#acf93d2d5bcdf29d3c668b2c8edfd6ab6"></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_1RecentInfo.html#a62a3c68ccab74057eb4be1c75b2b1eef">unreference</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference count for this object. <a href="#a62a3c68ccab74057eb4be1c75b2b1eef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkRecentInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ad851411db952b2041bcc1dec5c09037a">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ad851411db952b2041bcc1dec5c09037a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkRecentInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#af42f9236d765e719935910b9dc118bff">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af42f9236d765e719935910b9dc118bff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkRecentInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a4d0c33979f8e2b016943317c00ba38d8">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a4d0c33979f8e2b016943317c00ba38d8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a84e62b097a18226a082970ff322dedb0">operator bool</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">RecentInfo</a> is valid. <a href="#a84e62b097a18226a082970ff322dedb0"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#af9dd0f3d9fbb4a5788b0260c4429ee3a">get_uri</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the URI of the resource. <a href="#af9dd0f3d9fbb4a5788b0260c4429ee3a"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae8f88d8b7fe964f359ec195a7fc9a408">get_display_name</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the resource. <a href="#ae8f88d8b7fe964f359ec195a7fc9a408"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae7fa1a813557a0ce7ddb6103d4baf094">get_description</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the (short) description of the resource. <a href="#ae7fa1a813557a0ce7ddb6103d4baf094"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ac712350fd1af96290b7c81b61cd7b30f">get_mime_type</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the MIME type of the resource. <a href="#ac712350fd1af96290b7c81b61cd7b30f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a38dd9b85a2d7fa0c5b7eabf2f6681f84">get_added</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timestamp (seconds from system's Epoch) when the resource was added to the recently used resources list. <a href="#a38dd9b85a2d7fa0c5b7eabf2f6681f84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#afd9426a6e1205591bf5d37c971bf544a">get_modified</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timestamp (seconds from system's Epoch) when the resource was last modified. <a href="#afd9426a6e1205591bf5d37c971bf544a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#af915596f880ccd9ca3f3c523bdef4cba">get_visited</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timestamp (seconds from system's Epoch) when the resource was last visited. <a href="#af915596f880ccd9ca3f3c523bdef4cba"></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_1RecentInfo.html#aeed18c1b521d9eb323c522698c68e85e">get_private_hint</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of the "private" flag. <a href="#aeed18c1b521d9eb323c522698c68e85e"></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_1RecentInfo.html#ace1cad7c51263996e47305c6a2f765c7">get_application_info</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>& app_name, <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& app_exec, guint&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01162.html#ga81511cd7112567fa262b05bb22e69874">count</a>, time_t& time_) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the data regarding the application that has registered the resource pointed by <em>info</em>. <a href="#ace1cad7c51263996e47305c6a2f765c7"></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_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a16a8090d8cf43d6831423dd6911f1f8a">get_applications</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of applications that have registered this resource. <a href="#a16a8090d8cf43d6831423dd6911f1f8a"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae9d878b4cc91eed65d989ccb16f7a34f">last_application</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the last application that have registered the recently used resource represented by <em>info</em>. <a href="#ae9d878b4cc91eed65d989ccb16f7a34f"></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_1RecentInfo.html#aedabc0699402a800689727b5736f4523">has_application</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>& app_name) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether an application registered this resource using <em>app_name</em>. <a href="#aedabc0699402a800689727b5736f4523"></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_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a0a0d68f57cf8eedfda60fe1ba7c332dc">get_groups</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns all groups registered for the recently used item <em>info</em>. <a href="#a0a0d68f57cf8eedfda60fe1ba7c332dc"></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_1RecentInfo.html#ab3e6fad7aadca0b0ef6f1a11c571b1da">has_group</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>& group) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether <em>group_name</em> appears inside the groups registered for the recently used item <em>info</em>. <a href="#ab3e6fad7aadca0b0ef6f1a11c571b1da"></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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ac3efc797a1ad7323f910493022212ec9">get_icon</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the icon of size <em>size</em> associated to the resource MIME type. <a href="#ac3efc797a1ad7323f910493022212ec9"></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_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#aff943071d7b16c58943bf7c5c827cd1b">get_icon</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#ga445a43f417432dd1b9aed90ef239c700">size</a>) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the icon of size <em>size</em> associated to the resource MIME type. <a href="#aff943071d7b16c58943bf7c5c827cd1b"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ab34936aa07da5c7622c7c6774413c5bd">get_short_name</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. <a href="#ab34936aa07da5c7622c7c6774413c5bd"></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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#acde7de7444b70c580d7e8e209902954f">get_uri_display</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a displayable version of the resource's URI. <a href="#acde7de7444b70c580d7e8e209902954f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a88a3cd6760ce4abff01cdaca46982f79">get_age</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of days elapsed since the last update of the resource pointed by <em>info</em>. <a href="#a88a3cd6760ce4abff01cdaca46982f79"></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_1RecentInfo.html#a7f6eef6546933f061f99043034b7d0cb">is_local</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the resource is local or not by looking at the scheme of its URI. <a href="#a7f6eef6546933f061f99043034b7d0cb"></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_1RecentInfo.html#a9a1b7992f631a3b34918a145fff6e1e0">exists</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the resource pointed by <em>info</em> still exists. <a href="#a9a1b7992f631a3b34918a145fff6e1e0"></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_1RecentInfo.html#acf044926477e8ed616f9bffb0f8bf71c">equal</a> (const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& b) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether two <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">Gtk::RecentInfo</a> structures point to the same resource. <a href="#acf044926477e8ed616f9bffb0f8bf71c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ae53e7ff217d79472ab36c6b997e51b21">RecentInfo</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#a3846ed74a573dc27ac033601f47d9988">operator delete</a> (void*, size_t)</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="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1RecentInfo.html">Gtk::RecentInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentInfo.html#ad1f3fa78ef465f24e2f1febd2b19cae6">wrap</a> (GtkRecentInfo* 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="#ad1f3fa78ef465f24e2f1febd2b19cae6"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Contains informations found when looking up an entry of the recently used files list. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000258">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ae53e7ff217d79472ab36c6b997e51b21"></a><!-- doxytag: member="Gtk::RecentInfo::RecentInfo" ref="ae53e7ff217d79472ab36c6b997e51b21" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::RecentInfo::RecentInfo </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acf044926477e8ed616f9bffb0f8bf71c"></a><!-- doxytag: member="Gtk::RecentInfo::equal" ref="acf044926477e8ed616f9bffb0f8bf71c" args="(const RecentInfo &b) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::equal </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>& </td>
<td class="paramname"> <em>b</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Checks whether two <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">Gtk::RecentInfo</a> structures point to the same resource. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000280">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>info_b</em> </td><td>A <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">Gtk::RecentInfo</a>. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if both <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">Gtk::RecentInfo</a> structures point to se same resource, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="a9a1b7992f631a3b34918a145fff6e1e0"></a><!-- doxytag: member="Gtk::RecentInfo::exists" ref="a9a1b7992f631a3b34918a145fff6e1e0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::exists </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Checks whether the resource pointed by <em>info</em> still exists. </p>
<p>At the moment this check is done only on resources pointing to local files.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000279">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource exists. </dd></dl>
</div>
</div>
<a class="anchor" id="a38dd9b85a2d7fa0c5b7eabf2f6681f84"></a><!-- doxytag: member="Gtk::RecentInfo::get_added" ref="a38dd9b85a2d7fa0c5b7eabf2f6681f84" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">time_t Gtk::RecentInfo::get_added </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the timestamp (seconds from system's Epoch) when the resource was added to the recently used resources list. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000263">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of seconds elapsed from system's Epoch when the resource was added to the list, or -1 on failure. </dd></dl>
</div>
</div>
<a class="anchor" id="a88a3cd6760ce4abff01cdaca46982f79"></a><!-- doxytag: member="Gtk::RecentInfo::get_age" ref="a88a3cd6760ce4abff01cdaca46982f79" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::RecentInfo::get_age </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the number of days elapsed since the last update of the resource pointed by <em>info</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000277">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A positive integer containing the number of days elapsed since the time this resource was last modified. </dd></dl>
</div>
</div>
<a class="anchor" id="ace1cad7c51263996e47305c6a2f765c7"></a><!-- doxytag: member="Gtk::RecentInfo::get_application_info" ref="ace1cad7c51263996e47305c6a2f765c7" args="(const Glib::ustring &app_name, std::string &app_exec, guint &count, time_t &time_) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::get_application_info </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>app_name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td>
<td class="paramname"> <em>app_exec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint & </td>
<td class="paramname"> <em>count</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">time_t & </td>
<td class="paramname"> <em>time_</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the data regarding the application that has registered the resource pointed by <em>info</em>. </p>
<p>If the command line contains any escape characters defined inside the storage specification, they will be expanded.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000267">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>app_name</em> </td><td>The name of the application that has registered this item. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>app_exec</em> </td><td>Return location for the string containing the command line. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td>Return location for the number of times this item was registered. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>time</em> </td><td>Return location for the timestamp this item was last registered for this application. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an application with <em>app_name</em> has registered this resource inside the recently used list, or <code>false</code> otherwise. The <em>app_exec</em> string is owned by the <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">Gtk::RecentInfo</a> and should not be modified or freed. </dd></dl>
</div>
</div>
<a class="anchor" id="a16a8090d8cf43d6831423dd6911f1f8a"></a><!-- doxytag: member="Gtk::RecentInfo::get_applications" ref="a16a8090d8cf43d6831423dd6911f1f8a" 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_1ArrayHandle.html">Glib::StringArrayHandle</a> Gtk::RecentInfo::get_applications </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the list of applications that have registered this resource. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000268">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>length</em> </td><td>Return location for the length of the returned list. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <code>0</code>-terminated array of strings. Use Glib::strfreev() to free it. </dd></dl>
</div>
</div>
<a class="anchor" id="ae7fa1a813557a0ce7ddb6103d4baf094"></a><!-- doxytag: member="Gtk::RecentInfo::get_description" ref="ae7fa1a813557a0ce7ddb6103d4baf094" 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::RecentInfo::get_description </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the (short) description of the resource. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000261">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The description of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl>
</div>
</div>
<a class="anchor" id="ae8f88d8b7fe964f359ec195a7fc9a408"></a><!-- doxytag: member="Gtk::RecentInfo::get_display_name" ref="ae8f88d8b7fe964f359ec195a7fc9a408" 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::RecentInfo::get_display_name </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the name of the resource. </p>
<p>If none has been defined, the basename of the resource is obtained.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000260">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The display name of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl>
</div>
</div>
<a class="anchor" id="a0a0d68f57cf8eedfda60fe1ba7c332dc"></a><!-- doxytag: member="Gtk::RecentInfo::get_groups" ref="a0a0d68f57cf8eedfda60fe1ba7c332dc" 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_1ArrayHandle.html">Glib::StringArrayHandle</a> Gtk::RecentInfo::get_groups </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns all groups registered for the recently used item <em>info</em>. </p>
<p>The array of returned group names will be <code>0</code> terminated, so length might optionally be <code>0</code>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000271">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>length</em> </td><td>Return location for the number of groups returned. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <code>0</code> terminated array of strings. Use Glib::strfreev() to free it. </dd></dl>
</div>
</div>
<a class="anchor" id="aff943071d7b16c58943bf7c5c827cd1b"></a><!-- doxytag: member="Gtk::RecentInfo::get_icon" ref="aff943071d7b16c58943bf7c5c827cd1b" args="(int size) 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_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::RecentInfo::get_icon </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>size</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the icon of size <em>size</em> associated to the resource MIME type. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000274">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>size</em> </td><td>The size of the icon in pixels. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> containing the icon, or <code>0</code>. Use Glib::object_unref() when finished using the icon. </dd></dl>
</div>
</div>
<a class="anchor" id="ac3efc797a1ad7323f910493022212ec9"></a><!-- doxytag: member="Gtk::RecentInfo::get_icon" ref="ac3efc797a1ad7323f910493022212ec9" args="(int size)" -->
<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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::RecentInfo::get_icon </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>size</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Retrieves the icon of size <em>size</em> associated to the resource MIME type. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000273">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>size</em> </td><td>The size of the icon in pixels. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> containing the icon, or <code>0</code>. Use Glib::object_unref() when finished using the icon. </dd></dl>
</div>
</div>
<a class="anchor" id="ac712350fd1af96290b7c81b61cd7b30f"></a><!-- doxytag: member="Gtk::RecentInfo::get_mime_type" ref="ac712350fd1af96290b7c81b61cd7b30f" 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::RecentInfo::get_mime_type </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the MIME type of the resource. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000262">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The MIME type of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl>
</div>
</div>
<a class="anchor" id="afd9426a6e1205591bf5d37c971bf544a"></a><!-- doxytag: member="Gtk::RecentInfo::get_modified" ref="afd9426a6e1205591bf5d37c971bf544a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">time_t Gtk::RecentInfo::get_modified </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the timestamp (seconds from system's Epoch) when the resource was last modified. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000264">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of seconds elapsed from system's Epoch when the resource was last modified, or -1 on failure. </dd></dl>
</div>
</div>
<a class="anchor" id="aeed18c1b521d9eb323c522698c68e85e"></a><!-- doxytag: member="Gtk::RecentInfo::get_private_hint" ref="aeed18c1b521d9eb323c522698c68e85e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::get_private_hint </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the value of the "private" flag. </p>
<p>Resources in the recently used list that have this flag set to <code>true</code> should only be displayed by the applications that have registered them.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000266">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the private flag was found, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="ab34936aa07da5c7622c7c6774413c5bd"></a><!-- doxytag: member="Gtk::RecentInfo::get_short_name" ref="ab34936aa07da5c7622c7c6774413c5bd" 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::RecentInfo::get_short_name </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. </p>
<p>For example, calling this function on an item that refers to "file:///foo/bar.txt" will yield "bar.txt".</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000275">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated string in UTF-8 encoding; free it with Glib::free(). </dd></dl>
</div>
</div>
<a class="anchor" id="af9dd0f3d9fbb4a5788b0260c4429ee3a"></a><!-- doxytag: member="Gtk::RecentInfo::get_uri" ref="af9dd0f3d9fbb4a5788b0260c4429ee3a" 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::RecentInfo::get_uri </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the URI of the resource. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000259">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The URI of the resource. The returned string is owned by the recent manager, and should not be freed. </dd></dl>
</div>
</div>
<a class="anchor" id="acde7de7444b70c580d7e8e209902954f"></a><!-- doxytag: member="Gtk::RecentInfo::get_uri_display" ref="acde7de7444b70c580d7e8e209902954f" 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::RecentInfo::get_uri_display </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets a displayable version of the resource's URI. </p>
<p>If the resource is local, it returns a local path; if the resource is not local, it returns the UTF-8 encoded content of <a class="el" href="classGtk_1_1RecentInfo.html#af9dd0f3d9fbb4a5788b0260c4429ee3a" title="Gets the URI of the resource.">get_uri()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000276">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated UTF-8 string containing the resource's URI or <code>0</code>. Use Glib::free() when done using it. </dd></dl>
</div>
</div>
<a class="anchor" id="af915596f880ccd9ca3f3c523bdef4cba"></a><!-- doxytag: member="Gtk::RecentInfo::get_visited" ref="af915596f880ccd9ca3f3c523bdef4cba" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">time_t Gtk::RecentInfo::get_visited </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the timestamp (seconds from system's Epoch) when the resource was last visited. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000265">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of seconds elapsed from system's Epoch when the resource was last visited, or -1 on failure. </dd></dl>
</div>
</div>
<a class="anchor" id="af42f9236d765e719935910b9dc118bff"></a><!-- doxytag: member="Gtk::RecentInfo::gobj" ref="af42f9236d765e719935910b9dc118bff" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkRecentInfo* Gtk::RecentInfo::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C instance. </p>
</div>
</div>
<a class="anchor" id="ad851411db952b2041bcc1dec5c09037a"></a><!-- doxytag: member="Gtk::RecentInfo::gobj" ref="ad851411db952b2041bcc1dec5c09037a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkRecentInfo* Gtk::RecentInfo::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C instance. </p>
</div>
</div>
<a class="anchor" id="a4d0c33979f8e2b016943317c00ba38d8"></a><!-- doxytag: member="Gtk::RecentInfo::gobj_copy" ref="a4d0c33979f8e2b016943317c00ba38d8" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkRecentInfo* Gtk::RecentInfo::gobj_copy </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>
</div>
</div>
<a class="anchor" id="aedabc0699402a800689727b5736f4523"></a><!-- doxytag: member="Gtk::RecentInfo::has_application" ref="aedabc0699402a800689727b5736f4523" args="(const Glib::ustring &app_name) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::has_application </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>app_name</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Checks whether an application registered this resource using <em>app_name</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000270">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>app_name</em> </td><td>A string containing an application name. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an application with name <em>app_name</em> was found, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="ab3e6fad7aadca0b0ef6f1a11c571b1da"></a><!-- doxytag: member="Gtk::RecentInfo::has_group" ref="ab3e6fad7aadca0b0ef6f1a11c571b1da" args="(const Glib::ustring &group) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::has_group </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>group</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Checks whether <em>group_name</em> appears inside the groups registered for the recently used item <em>info</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000272">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>group_name</em> </td><td>Name of a group. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the group was found. </dd></dl>
</div>
</div>
<a class="anchor" id="a7f6eef6546933f061f99043034b7d0cb"></a><!-- doxytag: member="Gtk::RecentInfo::is_local" ref="a7f6eef6546933f061f99043034b7d0cb" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::RecentInfo::is_local </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Checks whether the resource is local or not by looking at the scheme of its URI. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000278">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource is local. </dd></dl>
</div>
</div>
<a class="anchor" id="ae9d878b4cc91eed65d989ccb16f7a34f"></a><!-- doxytag: member="Gtk::RecentInfo::last_application" ref="ae9d878b4cc91eed65d989ccb16f7a34f" 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::RecentInfo::last_application </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the name of the last application that have registered the recently used resource represented by <em>info</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000269">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An application name. Use Glib::free() to free it. </dd></dl>
</div>
</div>
<a class="anchor" id="a84e62b097a18226a082970ff322dedb0"></a><!-- doxytag: member="Gtk::RecentInfo::operator bool" ref="a84e62b097a18226a082970ff322dedb0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::RecentInfo::operator bool </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Tests whether the <a class="el" href="classGtk_1_1RecentInfo.html" title="Contains informations found when looking up an entry of the recently used files list...">RecentInfo</a> is valid. </p>
</div>
</div>
<a class="anchor" id="a3846ed74a573dc27ac033601f47d9988"></a><!-- doxytag: member="Gtk::RecentInfo::operator delete" ref="a3846ed74a573dc27ac033601f47d9988" args="(void *, size_t)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::RecentInfo::operator delete </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="acf93d2d5bcdf29d3c668b2c8edfd6ab6"></a><!-- doxytag: member="Gtk::RecentInfo::reference" ref="acf93d2d5bcdf29d3c668b2c8edfd6ab6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::RecentInfo::reference </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Increment the reference count for this object. </p>
<p>You should never need to do this manually - use the object via a RefPtr instead. </p>
</div>
</div>
<a class="anchor" id="a62a3c68ccab74057eb4be1c75b2b1eef"></a><!-- doxytag: member="Gtk::RecentInfo::unreference" ref="a62a3c68ccab74057eb4be1c75b2b1eef" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::RecentInfo::unreference </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Decrement the reference count for this object. </p>
<p>You should never need to do this manually - use the object via a RefPtr instead. </p>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ad1f3fa78ef465f24e2f1febd2b19cae6"></a><!-- doxytag: member="Gtk::RecentInfo::wrap" ref="ad1f3fa78ef465f24e2f1febd2b19cae6" args="(GtkRecentInfo *object, bool take_copy=false)" -->
<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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1RecentInfo.html">Gtk::RecentInfo</a> > wrap </td>
<td>(</td>
<td class="paramtype">GtkRecentInfo * </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/recentinfo.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:59 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>
|