forked from AuroraMiddleware/gtk
docs: Fix list of kinds of shortcuts in Keyboard input
Formatting in HTML was mangled.
This commit is contained in:
parent
58b1a13453
commit
bf4c3dc2c5
@ -119,21 +119,18 @@ around or to activate a widget that does not currently have the focus.
|
|||||||
|
|
||||||
GTK has traditionally supported different kinds of shortcuts:
|
GTK has traditionally supported different kinds of shortcuts:
|
||||||
|
|
||||||
Accelerators
|
- Accelerators are any other shortcuts that can be activated regardless
|
||||||
: Accelerators are any other shortcuts that can be activated regardless
|
of where the focus is, and typically trigger global actions, such as
|
||||||
of where the focus is, and typically trigger global actions, such as
|
Ctrl-Q to quit an application.
|
||||||
Ctrl-Q to quit an application.
|
- Mnemonics are usually triggered using Alt as a modifier for a letter.
|
||||||
Mnmemonics
|
They are used in places where a label is associated with a control,
|
||||||
: Mnemonics are usually triggered using Alt as a modifier for a letter.
|
and are indicated by underlining the letter in the label. As a special
|
||||||
They are used in places where a label is associated with a control,
|
case, inside menus (i.e. inside #GtkPopoverMenu), mnemonics can be
|
||||||
and are indicated by underlining the letter in the label. As a special
|
triggered without the modifier.
|
||||||
case, inside menus (i.e. inside #GtkPopoverMenu), mnemonics can be
|
- Key bindings are specific to individual widgets, such as Ctrl-C or
|
||||||
triggered without the modifier.
|
Ctrl-V in an entry copy to or paste from the clipboard. They are only
|
||||||
Key bindings
|
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
|
GTK handles accelerators and mnemonics in a global scope, during the
|
||||||
capture phase, and key bindings locally, during the target phase.
|
capture phase, and key bindings locally, during the target phase.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user