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
Copy file name to clipboardExpand all lines: PySimpleGUI.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/usr/bin/python3
2
2
3
-
version = __version__ = "4.44.0.10 Unreleased\nWindow.current_location docstring update to indicate value my be off due to titlebar, Menu element fixed problem of updates modifying the original menu spec, better string length handling in error popups, New popup function - popup_error_with_traceback allows you to show error info with a button to take the user to the line with the problem, replaced error popups with traceback popups when button colors problems are detected, fix for Menu.update - wasn't setting the colors and font correctly, title parm in the docstring, menu tearoff location fix after update with new menu def, Output element docstring update indicating Multiline is the superior choice, set no titlebar settings twice now due to a Raspberry Pi problem, fix for Combo and Input elements readonly state not being recalled when updating disabled. Moved *args to end in one_line_progress_meter"
3
+
version = __version__ = "4.45.0 Released 21-Jun-2021"
4
4
5
5
__version__ = version.split()[0] # For PEP 396 and PEP 345
Copy file name to clipboardExpand all lines: docs/call reference.md
+18-6
Original file line number
Diff line number
Diff line change
@@ -6141,6 +6141,12 @@ Parameter Descriptions:
6141
6141
6142
6142
Output Element - a multi-lined text area where stdout and stderr are re-routed to.
6143
6143
6144
+
The Multiline Element is the superior and recommended method for showing the output of stdout.
6145
+
The Multiline Element has been added to significantly while the Output element has not.
6146
+
6147
+
Of course, Output Element continues to operate and be backwards compatible, but you're missing out on
6148
+
features such as routing the cprint output to the element.
6149
+
6144
6150
```
6145
6151
Output(size = (None, None),
6146
6152
s = (None, None),
@@ -11266,7 +11272,10 @@ close()
11266
11272
11267
11273
### current_location
11268
11274
11269
-
Get the current location of the window's top left corner
11275
+
Get the current location of the window's top left corner.
11276
+
Note that this value may not take into account the titlebar and menubar.
11277
+
These parts of a window are created by the OS. As a result, the value returned may be
11278
+
off depending on if your window has a titlebar or menubar.
11270
11279
11271
11280
`current_location()`
11272
11281
@@ -11869,7 +11878,10 @@ Close()
11869
11878
11870
11879
### CurrentLocation
11871
11880
11872
-
Get the current location of the window's top left corner
11881
+
Get the current location of the window's top left corner.
11882
+
Note that this value may not take into account the titlebar and menubar.
11883
+
These parts of a window are created by the OS. As a result, the value returned may be
11884
+
off depending on if your window has a titlebar or menubar.
11873
11885
11874
11886
`CurrentLocation()`
11875
11887
@@ -14069,8 +14081,8 @@ Parameter Descriptions:
14069
14081
OneLineProgressMeter(title,
14070
14082
current_value,
14071
14083
max_value,
14072
-
key = "OK for 1 meter",
14073
14084
args=*<1 or N object>,
14085
+
key = "OK for 1 meter",
14074
14086
orientation = "v",
14075
14087
bar_color = (None, None),
14076
14088
button_color = None,
@@ -14087,8 +14099,8 @@ Parameter Descriptions:
14087
14099
| str | title | text to display in eleemnt |
14088
14100
| int | current_value | current value |
14089
14101
| int | max_value | max value of QuickMeter |
14090
-
| str or int or tuple or object | key | Used to differentiate between mutliple meters. Used to cancel meter early. Now optional as there is a default value for single meters |
14091
14102
| Any | *args | stuff to output |
14103
+
| str or int or tuple or object | key | Used to differentiate between mutliple meters. Used to cancel meter early. Now optional as there is a default value for single meters |
14092
14104
| str | orientation | 'horizontal' or 'vertical' ('h' or 'v' work) (Default value = 'vertical' / 'v') |
14093
14105
| Tuple(str, str) | bar_color | color of a bar line |
14094
14106
| (str, str) or str | button_color | button color (foreground, background) |
@@ -14115,8 +14127,8 @@ Parameter Descriptions:
14115
14127
one_line_progress_meter(title,
14116
14128
current_value,
14117
14129
max_value,
14118
-
key = "OK for 1 meter",
14119
14130
args=*<1 or N object>,
14131
+
key = "OK for 1 meter",
14120
14132
orientation = "v",
14121
14133
bar_color = (None, None),
14122
14134
button_color = None,
@@ -14133,8 +14145,8 @@ Parameter Descriptions:
14133
14145
| str | title | text to display in eleemnt |
14134
14146
| int | current_value | current value |
14135
14147
| int | max_value | max value of QuickMeter |
14136
-
| str or int or tuple or object | key | Used to differentiate between mutliple meters. Used to cancel meter early. Now optional as there is a default value for single meters |
14137
14148
| Any | *args | stuff to output |
14149
+
| str or int or tuple or object | key | Used to differentiate between mutliple meters. Used to cancel meter early. Now optional as there is a default value for single meters |
14138
14150
| str | orientation | 'horizontal' or 'vertical' ('h' or 'v' work) (Default value = 'vertical' / 'v') |
14139
14151
| Tuple(str, str) | bar_color | color of a bar line |
14140
14152
| (str, str) or str | button_color | button color (foreground, background) |
0 commit comments