Skip to content

gui_toolkit 0.285.0

Choose a tag to compare

@sachahjkl sachahjkl released this 15 Nov 23:19
· 776 commits to master since this release
v0.285.0
e1c893a

Added

  • Faint, soft and bright text in every theme: besides text and weak text, a program asks the theme for faint text (a hint, a line number), soft text (code, a tool's output) and bright text (a title, what is selected), and ui.theme_color(name) reads any colour of the theme shown, so a program keeps no colours of its own.
  • gt:http: compressed answers and a bound on the connection: Request.compressed asks for gzip or deflate and gives the body decoded (max_bytes counts decoded bytes), for a request and an event stream; Request.connect_timeout bounds the name's lookup and the connection of a request, a stream and a socket (0: timeout).
  • The sheet of the keys lists keys that are no command: shortcuts_sheet_open's extra takes Sheet_Line{group, keys, label} (Up and Down in a history, a middle click), each after the last command of its group, or under its own heading; its keys are shown as written.
  • ui.card with its own look: ui.card(title, icon, id, o) and ui.list_card(id, o) take Card_Options (a radius, and a Plate_Look: a face from a top colour to a bottom one, an edge, a rim, a shadow; a zero field is the theme's), in every finish; id sets the box of a card without a title. A .Plate box takes a look through Box.plate.