Blame hig/C/keyboard-input.page

Packit 1470ea
Packit 1470ea
      xmlns:itst="http://itstool.org/extensions/"
Packit 1470ea
      type="topic"
Packit 1470ea
      id="keyboard-input">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <credit type="author">
Packit 1470ea
      <name>Allan Day</name>
Packit 1470ea
      <email>aday@gnome.org</email>
Packit 1470ea
    </credit>
Packit 1470ea
    <credit>
Packit 1470ea
      <name>Calum Benson</name>
Packit 1470ea
    </credit>
Packit 1470ea
    <credit>
Packit 1470ea
      <name>Adam Elman</name>
Packit 1470ea
    </credit>
Packit 1470ea
    <credit>
Packit 1470ea
      <name>Seth Nickell</name>
Packit 1470ea
    </credit>
Packit 1470ea
    <credit>
Packit 1470ea
      <name>Colin Robertson</name>
Packit 1470ea
    </credit>
Packit 1470ea
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
Packit 1470ea
    <desc>Keyboard navigation, access and shortcut keys.</desc>  
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
<title>Keyboard input</title>
Packit 1470ea
Packit 1470ea

Keyboards are a common way to interact with user interfaces. They provide a convenient and effective means to use applications in a variety of situations, and can be faster and more efficient than other input devices. Keyboards are also vital for visually-impaired people or those with mobility impairments.

Packit 1470ea
Packit 1470ea

You should ensure that all the functionality provided by your application can be accessed using a keyboard. Trying to use your application with only a keyboard is a great way to test this.

Packit 1470ea
Packit 1470ea

Keyboard interaction has three aspects in GNOME and GTK+: navigation, access keys, and shortcut keys. <link xref="search">Search</link> is another, additional aspect.

Packit 1470ea
Packit 1470ea
<section id="keyboard-navigation">
Packit 1470ea
<title>Keyboard navigation</title>
Packit 1470ea
Packit 1470ea

Make sure that it is possible to move around and interact with every part of your user interface using the keyboard, by following these guidelines.

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Follow the standard GNOME keys for navigation. <key>Tab</key> is the standard key for moving around an interface with GTK+ and GNOME.

</item>
Packit 1470ea
<item>

Use a logical keyboard navigation order. When navigating around a window with <key>Tab</key>, keyboard focus should move between controls in a predictable order. In Western locales, this is normally left to right and top to bottom.

</item>
Packit 1470ea
<item>

In addition to navigation using <key>Tab</key>, make an effort to allow movement using the arrow keys, both within user interface elements (such as lists, icon grids or sidebars), and between them.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
<note>

If activating a control enables other controls, do not automatically give focus to the first dependent control when it is activated, but instead leave focus in place.

</note>
Packit 1470ea
Packit 1470ea
<section id="navigation-keys">
Packit 1470ea
<title>Standard navigation keys</title>
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Shortcut

Packit 1470ea

Function

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>Tab</key> and <keyseq><key>Shift</key><key>Tab</key></keyseq>

Packit 1470ea

Moves keyboard focus to the next/previous control

Packit 1470ea
Packit 1470ea
Packit 1470ea

<keyseq><key>Ctrl</key><key>Tab</key></keyseq> and <keyseq><key>Shift</key><key>Ctrl</key><key>Tab</key></keyseq>

Packit 1470ea

Moves keyboard focus out of the enclosing widget to the next/previous control, in those situations where Tab alone has another function

Packit 1470ea
Packit 1470ea
Packit 1470ea

<keyseq><key>Ctrl</key><key>Tab</key></keyseq> and <keyseq><key>Shift</key><key>Ctrl</key><key>Tab</key></keyseq>

Packit 1470ea

Moves keyboard focus to the next/previous group of controls

Packit 1470ea
Packit 1470ea
Packit 1470ea

<keyseq><key>Ctrl</key><key>F1</key></keyseq>

Packit 1470ea

Shows a tooltip for the the currently-focused window or control

Packit 1470ea
Packit 1470ea
Packit 1470ea

<keyseq><key>Shift</key><key>F1</key></keyseq>

Packit 1470ea

Show context-sensitive help for the currently-focused window or control

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>F6</key> and <keyseq><key>Shift</key><key>F6</key></keyseq>

Packit 1470ea

Give focus to the next/previous pane in a GtkPaned window

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>F8</key>

Packit 1470ea

Give focus to the splitter bar in a paned window

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>F10</key>

Packit 1470ea

Give focus to the menu bar or open header bar menu

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>Space</key>

Packit 1470ea

Toggle the state of a focused check box, radio button, or toggle button

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>Return</key>

Packit 1470ea

Activate focused button, menu item, etc

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>Return</key> and <key>End</key>

Packit 1470ea

Select/move to the first item in a selected widget

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>PageUp</key>, <keyseq><key>Ctrl</key><key>PageUp</key></keyseq>, <key>PageDown</key> and <keyseq><key>Ctrl</key><key>PageDown</key></keyseq>

Packit 1470ea

Scroll the selected view by one page up/left/down/right

Packit 1470ea
Packit 1470ea
Packit 1470ea

<key>Escape</key>

Packit 1470ea

Close or exit the current context, if it is transient. This should be consistently used for menus, popovers or <link xref="dialogs#default-action-and-escape">dialogs</link>, or any other temporary mode or UI element.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="access-keys">
Packit 1470ea
<title>Access keys</title>
Packit 1470ea
Packit 1470ea

Access keys allow someone to operate labelled controls by using <key>Alt</key>. They are indicated by an underlined letter within each control label (this is displayed when <key>Alt</key> is held down).

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Where possible, all labelled components should have an access key.

</item>
Packit 1470ea
<item>

Choose access keys that are easy to remember. Normally this means using the first letter of the label. If the label has more than one word, the first letter of one of its other words can also be used. Additionally, if another letter provides a better association (for example: “x” in “Extra Large”) , consider using that letter instead.

</item>
Packit 1470ea
<item>

Avoid assigning access keys to “thin” letters (such as lowercase i or l), or letters with descenders (such as lowercase g or y), unless it is unavoidable. The underline is sometimes not as clear with these characters.

</item>
Packit 1470ea
<item>

If the choice of access keys is difficult, assign access keys to the most frequently-used controls first. If the first letter is not available, choose an easy to remember consonant from the label, for example, “p” in “Replace”. Only assign vowels once no consonants are available.

</item>
Packit 1470ea
<item>

Be aware that access keys have to be translated together with the strings that they are taken from, so even if there are no conflicts in your native language, they may occur in translations.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="shortcut-keys">
Packit 1470ea
<title>Shortcut keys</title>
Packit 1470ea
Packit 1470ea

Shortcut keys provide convenient access to common operations. They can be either single keys or combinations of several key presses (typically a modifier in combination with a regular key)

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Do not assign system-level shortcut keys for use in your application. See below for details on these.

</item>
Packit 1470ea
<item>

Use the standard GNOME shortcut keys (see below) if your application supports those functions. This ensures consistency between GNOME applications and aids discoverability.

</item>
Packit 1470ea
<item>

Assign shortcut keys to the most commonly-used actions in your application. However, do not try to assign a keyboard shortcut to everything.

</item>
Packit 1470ea
<item>

Try to use <key>Ctrl</key> in combination with a letter for your own shortcuts. <keyseq><key>Shift</key><key>Ctrl</key></keyseq> and a letter is the recommended pattern for shortcuts that reverse or extend another function. For example, <keyseq><key>Ctrl</key><key>Z</key></keyseq> and <keyseq><key>Shift</key><key>Ctrl</key><key>Z</key></keyseq> for <gui>Undo</gui> and <gui>Redo</gui>.

</item>
Packit 1470ea
<item>

New shortcut keys should be as mnemonic as possible, as these will be easier to learn and remember. For example, <keyseq><key>Ctrl</key><key>E</key></keyseq> would be a good shortcut for a menu item called <gui>Edit Page</gui>.

</item>
Packit 1470ea
<item>

Shortcuts that can be easily used with one hand are preferable for common operations.

</item>
Packit 1470ea
<item>

Do not use <key>Alt</key> for shortcut keys, as this may conflict with access keys.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="system-shortcuts">
Packit 1470ea
<title>System reserved shortcuts</title>
Packit 1470ea
Packit 1470ea

The following system shortcuts should not be overridden by applications.

Packit 1470ea
Packit 1470ea

GNOME 3 makes exclusive use of <key>Super</key>, often known as the windows key, for system shortcuts. <key>Super</key> should not be used by applications, therefore.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Function

Packit 1470ea

Shortcut

Packit 1470ea

Legacy Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Activities Overview

Packit 1470ea

<key>Super</key>

Packit 1470ea

None

Packit 1470ea

Opens and closes the Activities Overview

Packit 1470ea
Packit 1470ea
Packit 1470ea

Applications View

Packit 1470ea

<keyseq><key>Super</key><key>A</key></keyseq>

Packit 1470ea

None

Packit 1470ea

Opens and closes the applications view of the Activities Overview

Packit 1470ea
Packit 1470ea
Packit 1470ea

Message Tray

Packit 1470ea

<keyseq><key>Super</key><key>M</key></keyseq>

Packit 1470ea

None

Packit 1470ea

Toggles the visibility of the Message Tray.

Packit 1470ea
Packit 1470ea
Packit 1470ea

Lock

Packit 1470ea

<keyseq><key>Super</key><key>L</key></keyseq>

Packit 1470ea

None

Packit 1470ea

Locks the system by blanking the screen and requiring a password to unlock, if one has been set.

Packit 1470ea
Packit 1470ea
Packit 1470ea

Switch application

Packit 1470ea

<keyseq><key>Super</key><key>Tab</key></keyseq> and <keyseq><key>Shift</key><key>Super</key><key>Tab</key></keyseq>

Packit 1470ea

<keyseq><key>Alt</key><key>Tab</key></keyseq> and <keyseq><key>Shift</key><key>Alt</key><key>Tab</key></keyseq>

Packit 1470ea

Switches focus to the next/previous application

Packit 1470ea
Packit 1470ea
Packit 1470ea

Switch windows

Packit 1470ea

<keyseq><key>Super</key><key>`</key></keyseq> and <keyseq><key>Shift</key><key>Super</key><key>`</key></keyseq>

Packit 1470ea

<keyseq><key>Alt</key><key>F6</key></keyseq> and <keyseq><key>Shift</key><key>Alt</key><key>F6</key></keyseq>

Packit 1470ea

Switch focus to the next or previous secondary window associated with the application

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Maximize</gui>

Packit 1470ea

<keyseq><key>Super</key><key>↑</key></keyseq>

Packit 1470ea

<keyseq><key>Alt</key><key>F10</key></keyseq>

Packit 1470ea

Maximize the focused window

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Restore</gui>

Packit 1470ea

<keyseq><key>Super</key><key>↓</key></keyseq>

Packit 1470ea

<keyseq><key>Alt</key><key>F5</key></keyseq>

Packit 1470ea

Restores the focused window to its previous state

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Hide</gui>

Packit 1470ea

<keyseq><key>Super</key><key>H</key></keyseq>

Packit 1470ea

<keyseq><key>Alt</key><key>F9</key></keyseq>

Packit 1470ea

Hide the focused window

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Switch system area

Packit 1470ea

None

Packit 1470ea

<keyseq><key>Ctrl</key><key>Alt</key><key>Tab</key></keyseq> and <keyseq><key>Shift</key><key>Ctrl</key><key>Alt</key><key>Tab</key></keyseq>

Packit 1470ea

Switches focus to the primary areas of the system: windows, top bar, message tray

Packit 1470ea
Packit 1470ea
Packit 1470ea

Power Off

Packit 1470ea

None

Packit 1470ea

<keyseq><key>Ctrl</key><key>Alt</key><key>Delete</key></keyseq>

Packit 1470ea

Prompts the user to power off the system. This shortcut is typically disabled by default.

Packit 1470ea
Packit 1470ea
Packit 1470ea

Window menu

Packit 1470ea

<keyseq><key>Alt</key><key>Space</key></keyseq>

Packit 1470ea

None

Packit 1470ea

Opens the window menu for the current window

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Close</gui>

Packit 1470ea

None

Packit 1470ea

<keyseq><key>Alt</key><key>F4</key></keyseq>

Packit 1470ea

Closes the focused window

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Move</gui>

Packit 1470ea

None

Packit 1470ea

<keyseq><key>Alt</key><key>F7</key></keyseq>

Packit 1470ea

Move the focused window

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Resize</gui>

Packit 1470ea

None

Packit 1470ea

<keyseq><key>Alt</key><key>F8</key></keyseq>

Packit 1470ea

Resize the focused window

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

In addition, the shortcuts for Unicode character entry should also be avoided. This includes <keyseq><key>Shift</key><key>Ctrl</key><key>A</key></keyseq> through to <keyseq><key>Shift</key><key>Ctrl</key><key>F</key></keyseq>, or <keyseq><key>Shift</key><key>Ctrl</key><key>0</key></keyseq> through to <keyseq><key>Shift</key><key>Ctrl</key><key>9</key></keyseq>.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="application-shortcuts">
Packit 1470ea
<title>Standard application shortcuts</title>
Packit 1470ea
Packit 1470ea

This section details common application keyboard shortcuts. With the exception of application shortcuts, these shortcuts only need to be followed when the corresponding action is included in your application. Standard shortcuts can be assigned to other actions if the standard action is not available.

Packit 1470ea
Packit 1470ea

This section also provides guidance on standard menu items in a <link xref="menu-bars">menu bar</link>, should one be used.

Packit 1470ea
Packit 1470ea
<section id="application">
Packit 1470ea
<title>Application</title>
Packit 1470ea
Packit 1470ea

Standard application keyboard shortcuts and menu items. These application shortcuts should not be reassigned to other actions, even when the corresponding action is not provided by your application.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Help</gui>

Packit 1470ea

<key>F1</key>

Packit 1470ea

Opens the default help browser on the contents page for the application.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>About</gui>

Packit 1470ea

None

Packit 1470ea

Opens the About dialog for the application. Use the standard GNOME 3 dialog for this.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Quit</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>Q</key></keyseq>

Packit 1470ea

Closes the application, including all application windows.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="file">
Packit 1470ea
<title>File</title>
Packit 1470ea
Packit 1470ea

Standard file keyboard shortcuts and menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>New</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>N</key></keyseq>

Packit 1470ea

Creates a new content item, often (but not always) in a new primary window or tab. If your application can create a number of different types of document, you can make the <gui>New</gui> item a submenu, containing a menu item for each type. Label these items <gui>New</gui> document type, make the first entry in the submenu the most commonly used document type, and give it the <keyseq><key>Ctrl</key><key>N</key></keyseq> shortcut.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Open…</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>O</key></keyseq>

Packit 1470ea

Opens an existing content item, often by presenting the user with a standard <gui>Open File</gui> dialog. If the chosen file is already open in the application, raise that window instead of opening a new one.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Open Recent</gui>

Packit 1470ea

None

Packit 1470ea

A submenu which contains a list of no more than six recently used files, ordered according to most recently used.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Save</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>S</key></keyseq>

Packit 1470ea

Saves the current content item. If the document already has a filename associated with it, save the document immediately without any further interaction from the user. If there are any additional options involved in saving a file, prompt for these first time the document is saved, but subsequently use the same values each time until the user changes them. If the document has no current filename or is read-only, selecting this item should be the same as selecting <gui>Save As</gui>.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Save As…</gui>

Packit 1470ea

<keyseq><key>Shift</key><key>Ctrl</key><key>S</key></keyseq>

Packit 1470ea

Saves the content item with a new filename. Present the user with the standard <gui>Save As</gui> dialog, and save the file with the chosen file name.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Save a Copy…</gui>

Packit 1470ea

None

Packit 1470ea

Prompts the user to enter a filename, with which a copy of the document is then saved. Do not alter either the view or the filename of the original document. All subsequent changes are still made to the original document until the user specifies otherwise, for example by choosing the <gui>Save As</gui> command.

Packit 1470ea

Like the <gui>Save As</gui> dialog, the <gui>Save a Copy</gui> dialog may present different ways to save the data. For example, an image may be saved in a native format or as a PNG.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Page Setup</gui>

Packit 1470ea

None

Packit 1470ea

Allows the user to control print-related settings. Present the user with a dialog allowing the user to set such options as portrait or landscape format, margins, and so on.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Print Preview</gui>

Packit 1470ea

<keyseq><key>Shift</key><key>Ctrl</key><key>P</key></keyseq>

Packit 1470ea

Shows the user what the printed document will look like. Present a new window containing an accurate representation of the appearance of the document as it would be printed.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Print…</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>P</key></keyseq>

Packit 1470ea

Prints the current document. Present the user with a dialog allowing them to set options like the page range to be printed, the printer to be used, and so on. The dialog must contain a button labelled <gui>Print</gui> that starts printing and closes the dialog.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Send To…</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>M</key></keyseq>

Packit 1470ea

Provides the user a means to attach or send the current document as an email or email attachment, depending on its format. You may provide more than one <gui>Send</gui> item depending on which options are available. If there are more than two such items, move them into a submenu. For example, if only <gui>Send by Email</gui> and <gui>Send by Bluetooth</gui> are available, leave them on the top-level menu. If there is a third option, such as <gui>Send by FTP</gui>, place all the options in a Send submenu.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Properties…</gui>

Packit 1470ea

<keyseq><key>Alt</key><key>Return</key></keyseq>

Packit 1470ea

Opens the document’s <gui>Properties</gui> window. This may contain editable information, such as the document author’s name, or read-only information, such as the number of words in the document, or a combination of both. The <keyseq><key>Alt</key><key>Return</key></keyseq> shortcut should not be provided where <key>Return</key> is most frequently used to insert a new line.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Close</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>W</key></keyseq>

Packit 1470ea

Closes the current tab or window. If the window uses tabs and there is only one open, the shortcut should close the window.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="edit">
Packit 1470ea
<title itst:context="menu">Edit</title>
Packit 1470ea
Packit 1470ea

Standard edit keyboard shortcuts and menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Undo action</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>Z</key></keyseq>

Packit 1470ea

Reverts the effect of the previous action.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Redo action</gui>

Packit 1470ea

<keyseq><key>Shift</key><key>Ctrl</key><key>Z</key></keyseq>

Packit 1470ea

Performs the next action in the undo history list, after the user has moved backwards through the list with the <gui>Undo</gui> command.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Cut</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>X</key></keyseq>

Packit 1470ea

Removes the selected content and places it onto the clipboard. Visually, remove the content from the document in the same manner as <gui>Delete</gui>.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Copy</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>C</key></keyseq>

Packit 1470ea

Copies the selected content onto the clipboard.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Paste</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>V</key></keyseq>

Packit 1470ea

Inserts the contents of the clipboard into the content item. When editing text, if there is no current selection, use the caret as the insertion point. If there is a current selection, replace it with the clipboard contents.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Paste Special…</gui>

Packit 1470ea

<keyseq><key>Shift</key><key>Ctrl</key><key>V</key></keyseq>

Packit 1470ea

Inserts a non-default representation of the clipboard contents. Open a dialog presenting a list of the available formats from which the user can select. For example, if the clipboard contains a PNG file copied from a file manager, the image may be embedded in the document, or a link to the file inserted so that changes to the image on disk are always reflected in the document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Duplicate</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>U</key></keyseq>

Packit 1470ea

Creates a duplicate copy of the selected object.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Delete</gui>

Packit 1470ea

<key>Delete</key>

Packit 1470ea

Removes the selected content without placing it on the clipboard.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Select All</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>A</key></keyseq>

Packit 1470ea

Selects all content in the current document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Deselect All</gui>

Packit 1470ea

<keyseq><key>Shift</key><key>Ctrl</key><key>A</key></keyseq>

Packit 1470ea

Deselects all content in the current document. Only provide this item in situations when no other method of undoing selection is possible or apparent to the user. For example, in complex graphics applications where selection and deselection is not usually possible simply by using the cursor keys. Note: Do not provide <gui>Deselect All</gui> in text entry fields, as <keyseq><key>Shift</key><key>Ctrl</key><key>hex</key></keyseq> digit is used to enter Unicode characters so its shortcut will not work.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Find…</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>F</key></keyseq>

Packit 1470ea

Displays a user interface for allowing the user to search for specific content in the current content item or page.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Find Next</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>G</key></keyseq>

Packit 1470ea

Selects the next instance of the last Find term in the current document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Find Previous</gui>

Packit 1470ea

<keyseq><key>Shift</key><key>Ctrl</key><key>G</key></keyseq>

Packit 1470ea

Selects the previous instance of the last <gui>Find</gui> term in the current document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Replace…</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>H</key></keyseq>

Packit 1470ea

Displays a user interface allowing the user to find specific content and replace each occurrence.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="view">
Packit 1470ea
<title>View</title>
Packit 1470ea
Packit 1470ea

View keyboard shortcuts and menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Icons</gui>

Packit 1470ea

None

Packit 1470ea

Shows content as a grid of icons. This is a radio button menu item.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>List</gui>

Packit 1470ea

None

Packit 1470ea

Shows content as a list. This is a radio button menu item.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Sort By…</gui>

Packit 1470ea

None

Packit 1470ea

Specifies the criteria by which content should be sorted. Can open a preference dialog, popover, or sub-menu.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Filter…</gui>

Packit 1470ea

None

Packit 1470ea

Allows content to be filtered, by opening a popover, drop down, or dialog.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Zoom In</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>+</key></keyseq>

Packit 1470ea

Zooms in, making content appear larger.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Zoom Out</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>-</key></keyseq>

Packit 1470ea

Zooms out, making content appear smaller.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Normal Size</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>0</key></keyseq>

Packit 1470ea

Resets the zoom level back to the default value.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Best Fit</gui>

Packit 1470ea

None

Packit 1470ea

Makes the document fill the window.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Reload</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>R</key></keyseq>

Packit 1470ea

Redraws the current view of the document, checking the data source for changes first. For example, checks the web server for updates to the page before redrawing it.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="format">
Packit 1470ea
<title>Format</title>
Packit 1470ea
Packit 1470ea

Standard format keyboard shortcuts and menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Style…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the style attributes of the selected text or objects either individually or to a named, predefined style.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Font…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the font properties of the selected text or objects.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Paragraph…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the properties of the selected paragraph.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Bold</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>B</key></keyseq>

Packit 1470ea

Toggles the boldness of the current text selection. If some of the selection is currently bold and some is not, this command should bolden the selected text.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Italic</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>I</key></keyseq>

Packit 1470ea

Toggles the italicisation of the current text selection on or off. If some of the selection is currently italicized and some is not, this command should italicise the selected text.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Underline</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>U</key></keyseq>

Packit 1470ea

Toggles underlining of the current text selection. If some of the selection is currently underlined and some is not, this command should underline the selected text.

Packit 1470ea

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Cells…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the properties of the selected table cells.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>List…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the properties of the selected list, or turns the selected paragraphs into a list if they are not already formatted as such.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Layer…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the properties of all or selected layers of a multi-layered document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Page…</gui>

Packit 1470ea

None

Packit 1470ea

Sets the properties of all or selected pages of the document.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="bookmarks">
Packit 1470ea
<title>Bookmarks</title>
Packit 1470ea
Packit 1470ea

Standard bookmark keyboard shortcuts and menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Add Bookmark</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>D</key></keyseq>

Packit 1470ea

Adds a bookmark for the current location. Do not pop up a dialog asking for a title or location for the bookmark, instead choose sensible defaults (such as the document’s title or filename as the bookmark name) and allow the user to change them later using the <gui>Edit Bookmarks</gui> feature.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Edit Bookmarks</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>B</key></keyseq>

Packit 1470ea

Allows the user to edit their bookmarks.

Packit 1470ea
Packit 1470ea
Packit 1470ea

Bookmark List

Packit 1470ea

None

Packit 1470ea

Displays the user’s bookmarks.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="go">
Packit 1470ea
<title>Go</title>
Packit 1470ea
Packit 1470ea

Standard navigation keyboard shortcuts and <gui>Go</gui> menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Back</gui>

Packit 1470ea

<keyseq><key>Alt</key><key>Left</key></keyseq>

Packit 1470ea

Navigates to the previous location.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Forward</gui>

Packit 1470ea

<keyseq><key>Alt</key><key>Right</key></keyseq>

Packit 1470ea

Navigates to the next location in the navigation history.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Up</gui>

Packit 1470ea

<keyseq><key>Alt</key><key>Up</key></keyseq>

Packit 1470ea

Navigates to the parent content item, document, page or section.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Home</gui>

Packit 1470ea

<keyseq><key>Alt</key><key>Home</key></keyseq>

Packit 1470ea

Navigates to a starting page defined by the user or the application.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Location…</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>L</key></keyseq>

Packit 1470ea

Allows the user to specify a URI to navigate to.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Previous Page</gui>

Packit 1470ea

<key>PageUp</key>

Packit 1470ea

Navigates to the previous page in the document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Next Page</gui>

Packit 1470ea

<key>PageDown</key>

Packit 1470ea

Navigates to the next page in the document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Go to Page…</gui>

Packit 1470ea

None

Packit 1470ea

Allows the user to specify a page number to be navigated to. Text-based applications may also include a <gui>Go to Line…</gui> menu item, which allows the user to jump to a specified line number.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>First Page</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>Home</key></keyseq>

Packit 1470ea

Navigates to the first page in the document.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Last Page</gui>

Packit 1470ea

<keyseq><key>Ctrl</key><key>End</key></keyseq>

Packit 1470ea

Navigates to the last page in the document.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="windows">
Packit 1470ea
<title>Windows</title>
Packit 1470ea
Packit 1470ea

Standard <gui>Windows</gui> menu items.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

Label

Packit 1470ea

Shortcut

Packit 1470ea

Description

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Save All</gui>

Packit 1470ea

None

Packit 1470ea

Saves all open documents. If any documents have no current filename, prompt for a filename for each one in turn using the standard <gui>Save</gui> dialog.

Packit 1470ea
Packit 1470ea
Packit 1470ea

<gui>Close All</gui>

Packit 1470ea

None

Packit 1470ea

Closes all open documents. If there are any unsaved changes in any documents, post a confirmation alert for each one in turn.

Packit 1470ea
Packit 1470ea
Packit 1470ea

List of windows

Packit 1470ea

None

Packit 1470ea

Each menu item raises the corresponding window to the top of the window stack.

Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</page>