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
  
//! 
//! 
//! 
 
inherit G.Object; 
 
int add_item( string uri ); 
//! Adds a new resource, pointed by uri, into the recently used 
//! resources list. 
//! 
//! 
 
protected GTK2.RecentManager create( mapping|int|GdkScreen props_or_def ); 
//! Create a new GTK2.RecentManager. 
//! 
//! 
 
array get_items( ); 
//! Gets the list of recently used resources. 
//! 
//! 
 
int get_limit( ); 
//! Gets the maximum number of items that the get_items() function 
//! should return. 
//! 
//! 
 
int has_item( string uri ); 
//! Checks whether there is a recently used resource registered with uri 
//! inside the recent manager. 
//! 
//! 
 
mapping lookup_item( string uri ); 
//! Searches for a URI inside the recently used resources list, and returns 
//! a structure containing information about the resource like its MIME type, 
//! or its display name. 
//! 
//! 
 
int move_item( string uri, string new_uri ); 
//! Changes the location of a recently used resource from uri to new_uri. 
//! 
//! 
 
int purge_items( ); 
//! Purges every item from the recently used resources list. 
//! 
//! 
 
int remove_item( string uri ); 
//! Removes a resource pointed by uri from the recently used resources list 
//! handled by a recent manager. 
//! 
//! 
 
GTK2.RecentManager set_limit( int limit ); 
//! Sets the maximum number of item that the get_items() function should 
//! return. If limit is set to -1, then return all the items. 
//! 
//! 
 
GTK2.RecentManager set_screen( GTK2.GdkScreen screen ); 
//! Sets the screen for a recent manager; the screen is used to track the 
//! user's currently configured recently used documents storage. 
//! 
//!