From: FeRD (Frank Dana) Date: Sun, 14 May 2023 20:20:33 +0000 (-0400) Subject: docs/input-handling: A few more wrappings X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~3^2~1^2~40 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=630392c18f29b6c7bed49db727c64ec070418a21;p=gtk4.git docs/input-handling: A few more wrappings - Format a few missed keypresses/combos using - Switch to semantic newlines for those (paragraphs, bullet points) --- diff --git a/docs/reference/gtk/input-handling.md b/docs/reference/gtk/input-handling.md index df92aa281a..0e724935dc 100644 --- a/docs/reference/gtk/input-handling.md +++ b/docs/reference/gtk/input-handling.md @@ -121,15 +121,17 @@ GTK has traditionally supported different kinds of shortcuts: - Accelerators are any other shortcuts that can be activated regardless of where the focus is, and typically trigger global actions, such as - Ctrl-Q to quit an application. -- Mnemonics are usually triggered using Alt as a modifier for a letter. + Ctrl+Q to quit an application. +- Mnemonics are usually triggered using Alt + as a modifier for a letter. They are used in places where a label is associated with a control, and are indicated by underlining the letter in the label. As a special case, inside menus (i.e. inside `GtkPopoverMenu`), mnemonics can be triggered without the modifier. -- Key bindings are specific to individual widgets, such as Ctrl-C or - Ctrl-V in an entry copy to or paste from the clipboard. They are only - triggered when the widget has focus. +- Key bindings are specific to individual widgets, + such as Ctrl+C or Ctrl+V + in an entry copy to or paste from the clipboard. + They are only triggered when the widget has focus. GTK handles accelerators and mnemonics in a global scope, during the capture phase, and key bindings locally, during the target phase.