PlacesSidebar.setShowRecent

Sets whether the sidebar should show an item for recent files. The default value for this option is determined by the desktop environment, but this function can be used to override it on a per-application basis.

class PlacesSidebar
void
setShowRecent
()

Parameters

showRecent bool

whether to show an item for recent files

Meta

Since

3.18