File: classGtk_1_1RecentManager.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (806 lines) | stat: -rw-r--r-- 61,985 bytes parent folder | download
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
<!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::RecentManager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::RecentManager Class Reference<br/>
<small>
[<a class="el" href="group__RecentFiles.html">RecentFiles</a>]</small>
</h1><!-- doxytag: class="Gtk::RecentManager" --><!-- doxytag: inherits="Glib::Object" -->
<p><a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> provides a facility for adding, removing and looking up recently used files. <a href="#_details">More...</a></p>

<p>Inherits <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_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::RecentManager:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1RecentManager__coll__graph.png" border="0" usemap="#Gtk_1_1RecentManager_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1RecentManager_coll__map" id="Gtk_1_1RecentManager_coll__map">
<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="31,160,121,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="16,83,136,112"/><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="23,5,129,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1RecentManager-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager_1_1Data.html">Data</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Meta-data passed to <a class="el" href="classGtk_1_1RecentManager.html#a40399f4843c5ab7ab83736a7be08eb36" title="Adds a new resource into the recently used resources list.">add_item()</a>. <a href="classGtk_1_1RecentManager_1_1Data.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <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_1ListHandle.html">Glib::ListHandle</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>, RecentInfoTraits &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#acd4f16662431a3529023e2b5613ce6c0">ListHandle_RecentInfos</a></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>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a377901b12ae77569e78e58a338ffdf9b">SlotChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, void <a class="el" href="classGtk_1_1RecentManager.html#aba88dad9d1c648b47c01954a23b887e7">on_changed()</a>;. <a href="#a377901b12ae77569e78e58a338ffdf9b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#addd2d3c11fc24fa92a8f0510f84698ab">~RecentManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkRecentManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aeb3fee7edcf9f2a35f9bba6a5c05bc29">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aeb3fee7edcf9f2a35f9bba6a5c05bc29"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkRecentManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a16ba98921b4d3eef7d6b93f052423112">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a16ba98921b4d3eef7d6b93f052423112"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkRecentManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a590150f439560f351bdbbe7e4e085327">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a590150f439560f351bdbbe7e4e085327"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ac92caed68ef92bb9b0a0fc60b0ec1d50">set_screen</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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp; screen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the screen for a recent manager; the screen is used to track the user's currently configured recently used documents storage. <a href="#ac92caed68ef92bb9b0a0fc60b0ec1d50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a40399f4843c5ab7ab83736a7be08eb36">add_item</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>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new resource into the recently used resources list. <a href="#a40399f4843c5ab7ab83736a7be08eb36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a6ed8039a13e90ad09a36d7214798b87d">add_item</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>&amp; uri, const <a class="el" href="classGtk_1_1RecentManager_1_1Data.html">Data</a>&amp; recent_data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new resource into the recently used resources list, taking meta data from the given <a class="el" href="classGtk_1_1RecentManager_1_1Data.html" title="Meta-data passed to add_item().">Data</a> instead of guessing it from the URI. <a href="#a6ed8039a13e90ad09a36d7214798b87d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a706bd39925f209dc38fcb5465348ca1c">remove_item</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>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a resource pointed by <em>uri</em> from the recently used resources list handled by a recent manager. <a href="#a706bd39925f209dc38fcb5465348ca1c"></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>&lt; <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a06657f84ccee0963bcff22db6be29d73">lookup_item</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>&amp; uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. <a href="#a06657f84ccee0963bcff22db6be29d73"></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>&lt; const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ad0ae9435533efce8218989e01af76b61">lookup_item</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>&amp; uri) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. <a href="#ad0ae9435533efce8218989e01af76b61"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ae05e919ccdd0221f5b0de334d3c5b751">has_item</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>&amp; uri) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether there is a recently used resource registered with <em>uri</em> inside the recent manager. <a href="#ae05e919ccdd0221f5b0de334d3c5b751"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a37908dbe8d829d473e3399691c29ca1a">move_item</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>&amp; 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>&amp; new_uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the location of a recently used resource from <em>uri</em> to <em>new_uri</em>. <a href="#a37908dbe8d829d473e3399691c29ca1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#add407400f426329a9ccfacb5a6518383">set_limit</a> (int limit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the maximum number of item that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. <a href="#add407400f426329a9ccfacb5a6518383"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a1bc17837548763d9c820034a81b5913d">get_limit</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum number of items that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. <a href="#a1bc17837548763d9c820034a81b5913d"></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_1ListHandle.html">ListHandle_RecentInfos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273">get_items</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the list of recently used resources. <a href="#ac33997c893a94f2e914f940d2d223273"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aa393d1be0690fa74313a7e4f51fc3860">purge_items</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Purges every item from the recently used resources list. <a href="#aa393d1be0690fa74313a7e4f51fc3860"></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_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ab46f1342bfecde9fbc4dca35d20f7e88">signal_changed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The "changed" signal is emitted when an item in the recently used resources list is changed. <a href="#ab46f1342bfecde9fbc4dca35d20f7e88"></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"/>
&lt; <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> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aafd62f6093f71893ffa285acc8cbc691">property_filename</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The full path to the file to be used to store and read the list. <a href="#aafd62f6093f71893ffa285acc8cbc691"></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>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#abd6cbdff1d2ff2cff356fc79ea40ec78">property_limit</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum number of items to be returned by gtk_recent_manager_get_items(). <a href="#abd6cbdff1d2ff2cff356fc79ea40ec78"></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>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a40e0b61d40b8e57e0adb3e1f8a373ad8">property_limit</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum number of items to be returned by gtk_recent_manager_get_items(). <a href="#a40e0b61d40b8e57e0adb3e1f8a373ad8"></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>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#adb4fbf5f5c25e2e84ba86d56dc2f4098">property_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The size of the recently used resources list. <a href="#adb4fbf5f5c25e2e84ba86d56dc2f4098"></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 <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><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a5fa470d8dc5f71d5a51faeba82ea8980">create</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <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><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a6147eea0bc983c8f84cf9b0657280412">get_default</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a unique instance of <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a>, that you can share in your application without caring about memory management. <a href="#a6147eea0bc983c8f84cf9b0657280412"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <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><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a81b039c87fce47b0420779173bba8758">get_for_screen</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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp; screen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the recent manager object associated with <em>screen</em>; if this function has not previously been called for the given screen, a new recent manager object will be created and associated with the screen. <a href="#a81b039c87fce47b0420779173bba8758"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#ab43690a69bb1ba69c8ea9744a93d9065">RecentManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#aba88dad9d1c648b47c01954a23b887e7">on_changed</a> ()</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>&lt; <a class="el" href="classGtk_1_1RecentManager.html">Gtk::RecentManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1RecentManager.html#a5f2ae744f762ca72e98c45e981ae8584">wrap</a> (GtkRecentManager* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a5f2ae744f762ca72e98c45e981ae8584"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> provides a facility for adding, removing and looking up recently used files. </p>
<p>Each recently used file is identified by its URI, and has meta-data associated to it, like the names and command lines of the applications that have registered it, the number of time each application has registered the same file, the mime type of the file and whether the file should be displayed only by the applications that have registered it.</p>
<p>The <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> acts like a database of all the recently used files. You can create new <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">RecentManager</a> objects, but it is more efficient to use the standard recent manager for the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> so that informations about the recently used files is shared with other people using them. Normally, you retrieve the recent manager for a particular screen using <a class="el" href="classGtk_1_1RecentManager.html#a81b039c87fce47b0420779173bba8758" title="Gets the recent manager object associated with screen; if this function has not previously...">get_for_screen()</a> and it will contain information about current recent manager for that screen.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000281">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="acd4f16662431a3529023e2b5613ce6c0"></a><!-- doxytag: member="Gtk::RecentManager::ListHandle_RecentInfos" ref="acd4f16662431a3529023e2b5613ce6c0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <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_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>, RecentInfoTraits&gt; <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_1ListHandle.html">Gtk::RecentManager::ListHandle_RecentInfos</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a377901b12ae77569e78e58a338ffdf9b"></a><!-- doxytag: member="Gtk::RecentManager::SlotChanged" ref="a377901b12ae77569e78e58a338ffdf9b" 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>&lt;void&gt; <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::RecentManager::SlotChanged</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, void <a class="el" href="classGtk_1_1RecentManager.html#aba88dad9d1c648b47c01954a23b887e7">on_changed()</a>;. </p>

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

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6ed8039a13e90ad09a36d7214798b87d"></a><!-- doxytag: member="Gtk::RecentManager::add_item" ref="a6ed8039a13e90ad09a36d7214798b87d" args="(const Glib::ustring &amp;uri, const Data &amp;recent_data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::add_item </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> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1RecentManager_1_1Data.html">Data</a>&amp;&#160;</td>
          <td class="paramname"> <em>recent_data</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new resource into the recently used resources list, taking meta data from the given <a class="el" href="classGtk_1_1RecentManager_1_1Data.html" title="Meta-data passed to add_item().">Data</a> instead of guessing it from the URI. </p>

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

<p>Adds a new resource into the recently used resources list. </p>
<p>This function will try and guess some of the meta-data associated to a URI. If you know some of meta-data about the document yourself, set the desired fields of a <a class="el" href="classGtk_1_1RecentManager_1_1Data.html" title="Meta-data passed to add_item().">RecentManager::Data</a> structure and pass it to <a class="el" href="classGtk_1_1RecentManager.html#a40399f4843c5ab7ab83736a7be08eb36" title="Adds a new resource into the recently used resources list.">add_item()</a>. </p>

</div>
</div>
<a class="anchor" id="a5fa470d8dc5f71d5a51faeba82ea8980"></a><!-- doxytag: member="Gtk::RecentManager::create" ref="a5fa470d8dc5f71d5a51faeba82ea8980" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <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>&lt;<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>&gt; Gtk::RecentManager::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6147eea0bc983c8f84cf9b0657280412"></a><!-- doxytag: member="Gtk::RecentManager::get_default" ref="a6147eea0bc983c8f84cf9b0657280412" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <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>&lt;<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>&gt; Gtk::RecentManager::get_default </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a unique instance of <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a>, that you can share in your application without caring about memory management. </p>
<p>The returned instance will be freed when you application terminates.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000282">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A unique <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a>. Do not ref or unref it. </dd></dl>

</div>
</div>
<a class="anchor" id="a81b039c87fce47b0420779173bba8758"></a><!-- doxytag: member="Gtk::RecentManager::get_for_screen" ref="a81b039c87fce47b0420779173bba8758" args="(const Glib::RefPtr&lt; Gdk::Screen &gt; &amp;screen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <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>&lt;<a class="el" href="classGtk_1_1RecentManager.html">RecentManager</a>&gt; Gtk::RecentManager::get_for_screen </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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>screen</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the recent manager object associated with <em>screen</em>; if this function has not previously been called for the given screen, a new recent manager object will be created and associated with the screen. </p>
<p>Recent manager objects are fairly expensive to create, so using this function is usually a better choice than calling new() and setting the screen yourself; by using this function a single recent manager object will be shared between users.</p>
<p>Deprecated: 2.12: This function has been deprecated and should not be used in newly written code. Calling this function is equivalent to calling <a class="el" href="classGtk_1_1RecentManager.html#a6147eea0bc983c8f84cf9b0657280412" title="Gets a unique instance of Gtk::RecentManager, that you can share in your application...">get_default()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000283">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>screen</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A unique <a class="el" href="classGtk_1_1RecentManager.html" title="RecentManager provides a facility for adding, removing and looking up recently used...">Gtk::RecentManager</a> associated with the given screen. This recent manager is associated to the with the screen and can be used as long as the screen is open. Do not ref or unref it. </dd></dl>

</div>
</div>
<a class="anchor" id="ac33997c893a94f2e914f940d2d223273"></a><!-- doxytag: member="Gtk::RecentManager::get_items" ref="ac33997c893a94f2e914f940d2d223273" 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_1ListHandle.html">ListHandle_RecentInfos</a> Gtk::RecentManager::get_items </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the list of recently used resources. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000292">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of newly allocated <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> objects. Use Gtk::RecentInfo::unref() on each item inside the list, and then free the list itself using Glib::list_free(). </dd></dl>

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

<p>Gets the maximum number of items that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000291">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of items to return, or -1 for every item. </dd></dl>

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

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

<p>Reimplemented from <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_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

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

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

<p>Reimplemented from <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_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a590150f439560f351bdbbe7e4e085327"></a><!-- doxytag: member="Gtk::RecentManager::gobj_copy" ref="a590150f439560f351bdbbe7e4e085327" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkRecentManager* Gtk::RecentManager::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></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="ae05e919ccdd0221f5b0de334d3c5b751"></a><!-- doxytag: member="Gtk::RecentManager::has_item" ref="ae05e919ccdd0221f5b0de334d3c5b751" args="(const Glib::ustring &amp;uri) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::has_item </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> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks whether there is a recently used resource registered with <em>uri</em> inside the recent manager. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000288">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the resource was found, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ad0ae9435533efce8218989e01af76b61"></a><!-- doxytag: member="Gtk::RecentManager::lookup_item" ref="ad0ae9435533efce8218989e01af76b61" args="(const Glib::ustring &amp;uri) 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>&lt;const <a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>&gt; Gtk::RecentManager::lookup_item </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> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000287">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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> structure containing information about the resource pointed by <em>uri</em>, or <code>0</code> if the URI was not registered in the recently used resources list. Free with Gtk::RecentInfo::unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a06657f84ccee0963bcff22db6be29d73"></a><!-- doxytag: member="Gtk::RecentManager::lookup_item" ref="a06657f84ccee0963bcff22db6be29d73" args="(const Glib::ustring &amp;uri)" -->
<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>&lt;<a class="el" href="classGtk_1_1RecentInfo.html">RecentInfo</a>&gt; Gtk::RecentManager::lookup_item </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> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000286">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>A URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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> structure containing information about the resource pointed by <em>uri</em>, or <code>0</code> if the URI was not registered in the recently used resources list. Free with Gtk::RecentInfo::unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a37908dbe8d829d473e3399691c29ca1a"></a><!-- doxytag: member="Gtk::RecentManager::move_item" ref="a37908dbe8d829d473e3399691c29ca1a" args="(const Glib::ustring &amp;uri, const Glib::ustring &amp;new_uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::RecentManager::move_item </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> &amp;&#160;</td>
          <td class="paramname"> <em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" 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> &amp;&#160;</td>
          <td class="paramname"> <em>new_uri</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the location of a recently used resource from <em>uri</em> to <em>new_uri</em>. </p>
<p>Please note that this function will not affect the resource pointed by the URIs, but only the URI used in the recently used resources list.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000289">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>The URI of a recently used resource. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>new_uri</em>&#160;</td><td>The new URI of the recently used resource, or <code>0</code> to remove the item pointed by <em>uri</em> in the list. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success. </dd></dl>

</div>
</div>
<a class="anchor" id="aba88dad9d1c648b47c01954a23b887e7"></a><!-- doxytag: member="Gtk::RecentManager::on_changed" ref="aba88dad9d1c648b47c01954a23b887e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::RecentManager::on_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aafd62f6093f71893ffa285acc8cbc691"></a><!-- doxytag: member="Gtk::RecentManager::property_filename" ref="aafd62f6093f71893ffa285acc8cbc691" 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>&lt;<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>&gt; Gtk::RecentManager::property_filename </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The full path to the file to be used to store and read the list. </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="a40e0b61d40b8e57e0adb3e1f8a373ad8"></a><!-- doxytag: member="Gtk::RecentManager::property_limit" ref="a40e0b61d40b8e57e0adb3e1f8a373ad8" 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>&lt;int&gt; Gtk::RecentManager::property_limit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum number of items to be returned by gtk_recent_manager_get_items(). </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="abd6cbdff1d2ff2cff356fc79ea40ec78"></a><!-- doxytag: member="Gtk::RecentManager::property_limit" ref="abd6cbdff1d2ff2cff356fc79ea40ec78" 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>&lt;int&gt; Gtk::RecentManager::property_limit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The maximum number of items to be returned by gtk_recent_manager_get_items(). </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="adb4fbf5f5c25e2e84ba86d56dc2f4098"></a><!-- doxytag: member="Gtk::RecentManager::property_size" ref="adb4fbf5f5c25e2e84ba86d56dc2f4098" 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>&lt;int&gt; Gtk::RecentManager::property_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The size of the recently used resources list. </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="aa393d1be0690fa74313a7e4f51fc3860"></a><!-- doxytag: member="Gtk::RecentManager::purge_items" ref="aa393d1be0690fa74313a7e4f51fc3860" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::RecentManager::purge_items </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Purges every item from the recently used resources list. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000293">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of items that have been removed from the recently used resources list. </dd></dl>

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

<p>Removes a resource pointed by <em>uri</em> from the recently used resources list handled by a recent manager. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000285">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri</em>&#160;</td><td>The URI of the item you wish to remove. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the item pointed by <em>uri</em> has been successfully removed by the recently used resources list, and <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="add407400f426329a9ccfacb5a6518383"></a><!-- doxytag: member="Gtk::RecentManager::set_limit" ref="add407400f426329a9ccfacb5a6518383" args="(int limit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::RecentManager::set_limit </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>limit</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the maximum number of item that the <a class="el" href="classGtk_1_1RecentManager.html#ac33997c893a94f2e914f940d2d223273" title="Gets the list of recently used resources.">get_items()</a> function should return. </p>
<p>If <em>limit</em> is set to -1, then return all the items.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000290">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>limit</em>&#160;</td><td>The maximum number of items to return, or -1. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac92caed68ef92bb9b0a0fc60b0ec1d50"></a><!-- doxytag: member="Gtk::RecentManager::set_screen" ref="ac92caed68ef92bb9b0a0fc60b0ec1d50" args="(const Glib::RefPtr&lt; Gdk::Screen &gt; &amp;screen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::RecentManager::set_screen </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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>screen</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the screen for a recent manager; the screen is used to track the user's currently configured recently used documents storage. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000284">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.12: This function has been deprecated and should not be used in newly written code. Calling this function has no effect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>screen</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab46f1342bfecde9fbc4dca35d20f7e88"></a><!-- doxytag: member="Gtk::RecentManager::signal_changed" ref="ab46f1342bfecde9fbc4dca35d20f7e88" 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_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::RecentManager::signal_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The "changed" signal is emitted when an item in the recently used resources list is changed. </p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_changed()</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5f2ae744f762ca72e98c45e981ae8584"></a><!-- doxytag: member="Gtk::RecentManager::wrap" ref="a5f2ae744f762ca72e98c45e981ae8584" args="(GtkRecentManager *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>&lt; <a class="el" href="classGtk_1_1RecentManager.html">Gtk::RecentManager</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkRecentManager *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" 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>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/recentmanager.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&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>