Widget enhancements
Running list of widget enhancement ideas:
- [x] How share more code between subclassed tk/ttk and subclassed sg versions (eg _CellEditCombo and subclassed sg.Combo)
- [x] More flexible date/datetime formatting.
- [ ] TkTimePicker for CellEdit
- [ ] Filepicker
- [x] Refactor Input to use validatecommand
- [x] Framework to allow input to validatecommand a variety of scenarios:
- [x] Restrict to domain/dtype. Eg int, float. This would be easy. About localization, eg , comma instead of periods.
- [ ] Datepicker for Input like CellEdit.
- [ ] Enhance datepicker to auto-insert / or - between yyyy/mm/dd
- [ ] Datetime/time picker
- [x] Min/max settings (either int, or str length)
- [x] Popups for invalid inputs via invalidcommand
tksheet is another interesting possibility we could look at integrating.
Oh wow, that is crazy cool! I never really got very deep in Tkinter. I know I need to at some point - time just always seems to get in the way! I'm glad you seem very well versed!
On Wed, May 31, 2023 at 1:48 PM ssweber @.***> wrote:
tksheet https://github.com/ragardner/tksheet is another interesting possibility we could look at integrating.
— Reply to this email directly, view it on GitHub https://github.com/PySimpleSQL/pysimplesql/issues/318#issuecomment-1570656077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQX2REXF2LZCYLYD6B2FGOTXI576XANCNFSM6AAAAAAYOFDF54 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Most of the basic validation logic will be handled by the new specialized Column classes. Working on those currently - will pass info popups to user about why the validation failed, eg “This field is required”, or “This field only accepts integers”, etc