Skip to content

gui_toolkit 0.142.0

Choose a tag to compare

@sachahjkl sachahjkl released this 10 Nov 11:57
· 2420 commits to master since this release
v0.142.0
3272c00

Added

  • ui.hotkey_field: a field that records a key combination from the keys pressed (a click, then the keys; Escape gives it up), for a program's shortcut. ui.hotkey_recording says when one records (a program lets its global hotkey go then).
    • platform.Hotkey.char: a key named by the character it types on the user's layout, when Key has none (the French ù): read and written by hotkey_parse and hotkey_text, registered on Windows (VkKeyScanW), sent on Wayland (its keysym U00F9, keysym_of).
    • platform.Event.char: a Key_Press of a key Key does not name comes with the character it types with no modifier (Windows, Wayland). ui.key_take gives a platform.Hotkey.
    • prefs_page: Options.hotkeys names the preferences that hold a key combination (recorded, not typed); Options.problem shows what the program says under a line.
  • setup.update and the controller of the Setup for a screen of the program's own: headline, install_label, can_uninstall, busy, closing, start_install, start_uninstall, pick_folder, open_installed, close. The dialog uses the same.

Changed

  • A menu that searches: its field is a band from edge to edge at the menu's top, in a field's background with the menu's separator under it, no frame of its own.
  • A menu that searches (ctx_menu_open(..., search = true)) shows its query in a field: a magnifier, what is typed and a caret that blinks, "Type to search" while nothing is.

Fixed

  • setup.facts: on Windows, a program installed in the default folder (%LOCALAPPDATA%\Programs\<name>, or an install_folder that is the same path) was taken for an install "to repair" after its restart: the record of the default folder counted as no record. desktop.install_recorded reads the record alone.