Widgets: add callback arg names to some callback

The ones that have a comment already.

Tests that the name is consistent accross the styles.
This commit is contained in:
Olivier Goffart 2024-11-03 21:16:30 +01:00
parent 51e4d4562a
commit 929e71e6b0
20 changed files with 123 additions and 86 deletions

View file

@ -17,7 +17,7 @@ export component DatePickerPopup inherits PopupWindow {
property <brush> state-secondary: Palette.color-scheme == ColorScheme.dark ? #000000 : #ffffff;
callback canceled();
callback accepted(/* current-date */ Date);
callback accepted(current-date: Date);
width: 360px;
height: 524px;