Changelog/documentation for key_back

develop
John Cosker 2023-02-06 09:29:31 -05:00
parent 36b76d709c
commit 4e366790c0
2 changed files with 2 additions and 1 deletions

@ -46,6 +46,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## API ## API
## Lua ## Lua
- ``widgets.CycleHotkeyLabel``: Added ``key_back`` optional parameter to cycle backwards.
## Removed ## Removed

@ -4816,7 +4816,7 @@ cycle through by pressing a specified hotkey or clicking on the text.
It has the following attributes: It has the following attributes:
:key: The hotkey keycode to display, e.g. ``'CUSTOM_A'``. :key: The hotkey keycode to display, e.g. ``'CUSTOM_A'``.
:key_back: Similar to `key`, but will cycle backwards (optional) :key_back: Similar to ``key``, but will cycle backwards (optional)
:label: The string (or a function that returns a string) to display after the :label: The string (or a function that returns a string) to display after the
hotkey. hotkey.
:label_width: The number of spaces to allocate to the ``label`` (for use in :label_width: The number of spaces to allocate to the ``label`` (for use in