RecentManager.setLimit

Warning gtk_recent_manager_set_limit has been deprecated since version 2.22 and should not be used in newly-written code. The length of the list should be managed by the view (implementing GtkRecentChooser), and not by the model (the GtkRecentManager). See "limit". Sets the maximum number of item that the gtk_recent_manager_get_items() function should return. If limit is set to -1, then return all the items. Since 2.10

class RecentManager
void
setLimit
(
int limit
)

Parameters

limit int

the maximum number of items to return, or -1.

Meta