HIG: add section on "Recently Used Files"

Change-Id: I6d4190adc8a77ce755435f415b6bd281921990d1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8005
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Humdinger 2024-08-12 17:41:25 +02:00 committed by Adrien Destugues
parent b3a64f5856
commit eea5774f46

View File

@ -377,6 +377,22 @@
R5. find_directory() is supported in both C and C++ environments.</para>
</sect1>
<sect1>
<title>Easy Access to Recently Used Files</title>
<para>The Deskbar provides the most recently used documents, folders and applications,
but those lists are limited in slots (defaults to 10) and not permanent. Therefore,
applications that deal with files should provide the user with a list of files they
have opened or saved most recently.</para>
<para>It's recommended to show the last 10 opened or saved files in a submenu of
the Open menu item in the File menu. If the user clicks the Open label, the
regular file dialog appears, otherwise they can choose the file to open from its
submenu. An example of this is the StyledEdit application.</para>
<para>The Haiku API provides BRecentFilesList::NewFileListMenu() in the RecentItems.h
header that creates the recent files menu and has the system do all its management.</para>
</sect1>
<sect1>
<title>Make Your App's Look Fit in with Others</title>