Release 4.59.0
This commit is contained in:
parent
cba19a515e
commit
3261ec15fa
6 changed files with 110 additions and 36 deletions
|
@ -2472,6 +2472,25 @@ Visibility losing settings fix
|
|||
- `header_relief` - the type of header relief to use
|
||||
- `Table` and `Tree` elements are now excluded from grab-anywhere so that headers can be resized without moving the window
|
||||
|
||||
## 4.59.0 PySimpleGUI 4-Apr-2022
|
||||
|
||||
An oh sh*t release due to yesterday's bug
|
||||
New force modal Windows option
|
||||
Test harness forces all windows to be modal and is no longer keep-on-top
|
||||
|
||||
- Removed ttk theme from the test harness. Forgot that I had changed it for testing.
|
||||
- Fixed bug where disabled state was not correctly saved in update methods, causing events to not be generated (Thank you Jason, again!)
|
||||
- Changed numerous elements, not just the `Input` element that demonstrated the problem
|
||||
- New `force_modal_windows` parm added to `set_options`
|
||||
- Forces all windows to be modal
|
||||
- Overrides the `disable_modal_windows` option
|
||||
- Used in the `main()` test harness to ensure all windows are modal so no window is accidentally lost
|
||||
- Test Harness changes
|
||||
- Set `keep_on_top=True` for all popups and windows created by test harness
|
||||
- Set the main window `keep_on_top=False`. Ensures that all windows created by it should never be hidden. This is a somewhat experimental change. Let's hope for the best!
|
||||
- Forced all windows except for 1 non-modal popup to be modal. This also should ensure no windows are "lost" behind the main window
|
||||
|
||||
|
||||
## Code Condition
|
||||
|
||||
Make it run
|
||||
|
|
|
@ -19463,6 +19463,7 @@ set_options(icon = None,
|
|||
dpi_awareness = None,
|
||||
scaling = None,
|
||||
disable_modal_windows = None,
|
||||
force_modal_windows = None,
|
||||
tooltip_offset = (None, None))
|
||||
```
|
||||
|
||||
|
@ -19523,7 +19524,8 @@ Parameter Descriptions:
|
|||
| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True |
|
||||
| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) |
|
||||
| float | scaling | Sets the default scaling for all windows including popups, etc. |
|
||||
| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows |
|
||||
| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) |
|
||||
| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) |
|
||||
| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. |
|
||||
| None | **RETURN** | None
|
||||
|
||||
|
@ -19597,6 +19599,7 @@ SetOptions(icon = None,
|
|||
dpi_awareness = None,
|
||||
scaling = None,
|
||||
disable_modal_windows = None,
|
||||
force_modal_windows = None,
|
||||
tooltip_offset = (None, None))
|
||||
```
|
||||
|
||||
|
@ -19657,7 +19660,8 @@ Parameter Descriptions:
|
|||
| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True |
|
||||
| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) |
|
||||
| float | scaling | Sets the default scaling for all windows including popups, etc. |
|
||||
| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows |
|
||||
| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) |
|
||||
| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) |
|
||||
| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. |
|
||||
| None | **RETURN** | None
|
||||
|
||||
|
|
|
@ -9928,6 +9928,24 @@ Visibility losing settings fix
|
|||
- `header_relief` - the type of header relief to use
|
||||
- `Table` and `Tree` elements are now excluded from grab-anywhere so that headers can be resized without moving the window
|
||||
|
||||
## 4.59.0 PySimpleGUI 4-Apr-2022
|
||||
|
||||
An oh sh*t release due to yesterday's bug
|
||||
New force modal Windows option
|
||||
Test harness forces all windows to be modal and is no longer keep-on-top
|
||||
|
||||
- Removed ttk theme from the test harness. Forgot that I had changed it for testing.
|
||||
- Fixed bug where disabled state was not correctly saved in update methods, causing events to not be generated (Thank you Jason, again!)
|
||||
- Changed numerous elements, not just the `Input` element that demonstrated the problem
|
||||
- New `force_modal_windows` parm added to `set_options`
|
||||
- Forces all windows to be modal
|
||||
- Overrides the `disable_modal_windows` option
|
||||
- Used in the `main()` test harness to ensure all windows are modal so no window is accidentally lost
|
||||
- Test Harness changes
|
||||
- Set `keep_on_top=True` for all popups and windows created by test harness
|
||||
- Set the main window `keep_on_top=False`. Ensures that all windows created by it should never be hidden. This is a somewhat experimental change. Let's hope for the best!
|
||||
- Forced all windows except for 1 non-modal popup to be modal. This also should ensure no windows are "lost" behind the main window
|
||||
|
||||
## Code Condition
|
||||
|
||||
Make it run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue