To construct a submenu showing recently used files, use a gtk:recent-action object as the action for a menu item. To construct
a menu toolbutton showing the recently used files in the popup menu, use a gtk:recent-action object as the action for a tool item.
Warning
The gtk:recent-action class has been deprecated since version 3.10
and should not be used in newly written code.