Skip to content

gui_toolkit 0.172.0

Choose a tag to compare

@sachahjkl sachahjkl released this 11 Nov 00:12
· 1514 commits to master since this release
v0.172.0
11340da

Added

  • platform.drop_types: the MIME types a drag over the window offers, from its enter on. On Linux the data is read only at the drop: a target judges a drop of a program's own format by its types (it refused it before).

Changed

  • The command palette is a dialog the user resizes (Command_Palette, palette_open(&p), palette(&p, commands, enabled) -> (chosen, resized)): modal_sized with its corner's grip, PALETTE_WIDTH_EM by PALETTE_HEIGHT_EM at first, its size the program's to keep; a command's icon before its label. A table narrower than its columns scrolls sideways (table_min_width, table_scroll_sync; table_build does it); Size.least is a floor of the resolved size too.