File tree 1 file changed +7
-2
lines changed 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
4
4
## <v2.01>
5
- ### Released ?
5
+ ### Released 9/16/2022
6
+ Some minor improvements when it comes to the keygen and garbage collecting. ss.record() now supports Comboboxes that are not
7
+ bound to a foreign key field. ss.record() now also supports sg.Image() as well.
8
+ -ss.record() using images can work in two ways. If pointed to a field that is a string value, it treats the string like a
9
+ filepath and loads the image at the specified path. If pointed to a field that is binary data, then the binary data is passed
10
+ in for image display. Added a small example of how this may work in your own application along with a nifty function to limit
11
+ image size for either storage or display purposes (see examples/image_store.py)
6
12
- ss.record() using Comboboxes can now take in a list of values. This is especially useful in situations where there is no
7
13
primary key <-> foreign key relationship on the field, but you would still like to limit the values that can be stored. Setting
8
14
the readonly=True keyword parameter will limit options to the passed-in list.
9
15
- Added some internal changes, mostly revolving around the keygen (which is responsible for ensuring that the same key is not
10
16
used multiple times). There is now a Form.close() method that safely closes out the form by resetting the keygen for elements
11
17
associated with the form, and Query instances that are assocated with the form. This makes it much easier to re-use window layouts
12
18
as the keygen will reset, and we won't be keeping old Query objects lying around hiding from the garbage collector.
13
- -
14
19
15
20
16
21
## <v2.0>
You can’t perform that action at this time.
0 commit comments