You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param icon: Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's
:param scaling: Sets the default scaling for all windows including popups, etc.
17200
17199
:type scaling: (float)
17201
-
:param disable_modal_windows: If True then all windows, including popups, will not be modal windows
17200
+
:param 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)
17202
17201
:type disable_modal_windows: (bool)
17202
+
:param 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)
17203
+
:type force_modal_windows: (bool)
17203
17204
:param tooltip_offset: Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered.
Copy file name to clipboardExpand all lines: docs/call reference.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19463,6 +19463,7 @@ set_options(icon = None,
19463
19463
dpi_awareness = None,
19464
19464
scaling = None,
19465
19465
disable_modal_windows = None,
19466
+
force_modal_windows = None,
19466
19467
tooltip_offset = (None, None))
19467
19468
```
19468
19469
@@ -19523,7 +19524,8 @@ Parameter Descriptions:
19523
19524
| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True |
19524
19525
| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) |
19525
19526
| float | scaling | Sets the default scaling for all windows including popups, etc. |
19526
-
| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows |
19527
+
| 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) |
19528
+
| 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) |
19527
19529
| ((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. |
19528
19530
| None | **RETURN** | None
19529
19531
@@ -19597,6 +19599,7 @@ SetOptions(icon = None,
19597
19599
dpi_awareness = None,
19598
19600
scaling = None,
19599
19601
disable_modal_windows = None,
19602
+
force_modal_windows = None,
19600
19603
tooltip_offset = (None, None))
19601
19604
```
19602
19605
@@ -19657,7 +19660,8 @@ Parameter Descriptions:
19657
19660
| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True |
19658
19661
| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) |
19659
19662
| float | scaling | Sets the default scaling for all windows including popups, etc. |
19660
-
| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows |
19663
+
| 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) |
19664
+
| 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) |
19661
19665
| ((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. |
- `header_relief` - the type of header relief to use
9929
9929
- `Table` and `Tree` elements are now excluded from grab-anywhere so that headers can be resized without moving the window
9930
9930
9931
+
## 4.59.0 PySimpleGUI 4-Apr-2022
9932
+
9933
+
An oh sh*t release due to yesterday's bug
9934
+
New force modal Windows option
9935
+
Test harness forces all windows to be modal and is no longer keep-on-top
9936
+
9937
+
- Removed ttk theme from the test harness. Forgot that I had changed it for testing.
9938
+
- Fixed bug where disabled state was not correctly saved in update methods, causing events to not be generated (Thank you Jason, again!)
9939
+
- Changed numerous elements, not just the `Input` element that demonstrated the problem
9940
+
- New `force_modal_windows` parm added to `set_options`
9941
+
- Forces all windows to be modal
9942
+
- Overrides the `disable_modal_windows` option
9943
+
- Used in the `main()` test harness to ensure all windows are modal so no window is accidentally lost
9944
+
- Test Harness changes
9945
+
- Set `keep_on_top=True` for all popups and windows created by test harness
9946
+
- 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!
9947
+
- Forced all windows except for 1 non-modal popup to be modal. This also should ensure no windows are "lost" behind the main window
- `header_relief` - the type of header relief to use
2473
2473
-`Table` and `Tree` elements are now excluded from grab-anywhere so that headers can be resized without moving the window
2474
2474
2475
+
## 4.59.0 PySimpleGUI 4-Apr-2022
2476
+
2477
+
An oh sh*t release due to yesterday's bug
2478
+
New force modal Windows option
2479
+
Test harness forces all windows to be modal and is no longer keep-on-top
2480
+
2481
+
- Removed ttk theme from the test harness. Forgot that I had changed it for testing.
2482
+
- Fixed bug where disabled state was not correctly saved in update methods, causing events to not be generated (Thank you Jason, again!)
2483
+
- Changed numerous elements, not just the `Input` element that demonstrated the problem
2484
+
- New `force_modal_windows` parm added to `set_options`
2485
+
- Forces all windows to be modal
2486
+
- Overrides the `disable_modal_windows` option
2487
+
- Used in the `main()` test harness to ensure all windows are modal so no window is accidentally lost
2488
+
- Test Harness changes
2489
+
- Set `keep_on_top=True` for all popups and windows created by test harness
2490
+
- 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!
2491
+
- Forced all windows except for 1 non-modal popup to be modal. This also should ensure no windows are "lost" behind the main window
0 commit comments