Release 3.34.0
This commit is contained in:
parent
c556b38e99
commit
deed0caa5e
|
@ -4037,12 +4037,18 @@ class Window(object):
|
||||||
self.TKroot.iconify()
|
self.TKroot.iconify()
|
||||||
|
|
||||||
def Maximize(self):
|
def Maximize(self):
|
||||||
|
if sys.platform != 'linux':
|
||||||
self.TKroot.state('zoomed')
|
self.TKroot.state('zoomed')
|
||||||
|
else:
|
||||||
|
self.TKroot.attributes('-fullscreen', True)
|
||||||
# this method removes the titlebar too
|
# this method removes the titlebar too
|
||||||
# self.TKroot.attributes('-fullscreen', True)
|
# self.TKroot.attributes('-fullscreen', True)
|
||||||
|
|
||||||
def Normal(self):
|
def Normal(self):
|
||||||
|
if sys.platform != 'linux':
|
||||||
self.TKroot.state('normal')
|
self.TKroot.state('normal')
|
||||||
|
else:
|
||||||
|
self.TKroot.attributes('-fullscreen', False)
|
||||||
|
|
||||||
|
|
||||||
def StartMove(self, event):
|
def StartMove(self, event):
|
||||||
|
@ -5458,6 +5464,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
|
||||||
element.TKText.insert(1.0, default_text) # set the default text
|
element.TKText.insert(1.0, default_text) # set the default text
|
||||||
if element.BackgroundColor is not None and element.BackgroundColor != COLOR_SYSTEM_DEFAULT:
|
if element.BackgroundColor is not None and element.BackgroundColor != COLOR_SYSTEM_DEFAULT:
|
||||||
element.TKText.configure(background=element.BackgroundColor)
|
element.TKText.configure(background=element.BackgroundColor)
|
||||||
|
if DEFAULT_SCROLLBAR_COLOR not in (None, COLOR_SYSTEM_DEFAULT):
|
||||||
element.TKText.vbar.config(troughcolor=DEFAULT_SCROLLBAR_COLOR)
|
element.TKText.vbar.config(troughcolor=DEFAULT_SCROLLBAR_COLOR)
|
||||||
element.TKText.pack(side=tk.LEFT, padx=elementpad[0], pady=elementpad[1], expand=True, fill='both')
|
element.TKText.pack(side=tk.LEFT, padx=elementpad[0], pady=elementpad[1], expand=True, fill='both')
|
||||||
if element.Visible is False:
|
if element.Visible is False:
|
||||||
|
@ -8195,7 +8202,7 @@ def main():
|
||||||
[Frame('Structured Data Group', frame5, title_color='red'), ],
|
[Frame('Structured Data Group', frame5, title_color='red'), ],
|
||||||
# [Frame('Graphing Group', frame6)],
|
# [Frame('Graphing Group', frame6)],
|
||||||
[TabGroup([[tab1, tab2]])],
|
[TabGroup([[tab1, tab2]])],
|
||||||
[ProgressBar(max_value=800, size=(60, 25), key='+PROGRESS+'), Button('Button'), Button('Exit', tooltip='Exit button')],
|
[ProgressBar(max_value=800, size=(60, 25), key='+PROGRESS+'), Button('Button'),B('Normal'), Button('Exit', tooltip='Exit button')],
|
||||||
]
|
]
|
||||||
|
|
||||||
layout=[[Column(layout1)]]
|
layout=[[Column(layout1)]]
|
||||||
|
@ -8205,7 +8212,7 @@ def main():
|
||||||
# background_color='black',
|
# background_color='black',
|
||||||
right_click_menu=['&Right', ['Right', '!&Click', '&Menu', 'E&xit', 'Properties']],
|
right_click_menu=['&Right', ['Right', '!&Click', '&Menu', 'E&xit', 'Properties']],
|
||||||
# transparent_color= '#9FB8AD',
|
# transparent_color= '#9FB8AD',
|
||||||
resizable=False,
|
resizable=True,
|
||||||
).Finalize()
|
).Finalize()
|
||||||
graph_elem.DrawCircle((200, 200), 50, 'blue')
|
graph_elem.DrawCircle((200, 200), 50, 'blue')
|
||||||
i = 0
|
i = 0
|
||||||
|
@ -8229,6 +8236,10 @@ def main():
|
||||||
window.Element('_TEXT1_').SetTooltip('NEW TEXT')
|
window.Element('_TEXT1_').SetTooltip('NEW TEXT')
|
||||||
window.SetTransparentColor( '#9FB8AD')
|
window.SetTransparentColor( '#9FB8AD')
|
||||||
window.Maximize()
|
window.Maximize()
|
||||||
|
elif event == 'Normal':
|
||||||
|
window.Normal()
|
||||||
|
|
||||||
|
|
||||||
# TimerStop()
|
# TimerStop()
|
||||||
window.Close()
|
window.Close()
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.33.0-red.svg?longCache=true&style=for-the-badge)
|
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.34.0-red.svg?longCache=true&style=for-the-badge)
|
||||||
|
|
||||||
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.33.0-blue.svg?longCache=true&style=for-the-badge)
|
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.34.0-blue.svg?longCache=true&style=for-the-badge)
|
||||||
|
|
||||||
![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge)
|
![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge)
|
||||||
|
|
||||||
|
@ -4966,6 +4966,15 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing
|
||||||
|
|
||||||
* Emergency fix due to debugger. Old bug was that Image Element was not testing for COLOR_SYSTEM_DEFAULT correctly.
|
* Emergency fix due to debugger. Old bug was that Image Element was not testing for COLOR_SYSTEM_DEFAULT correctly.
|
||||||
|
|
||||||
|
|
||||||
|
## 3.34.0 PySimpleGUI & 1.34.0 PySimpleGUI27 25-May-2019
|
||||||
|
|
||||||
|
Trying to get the fixes rolled out as quickly as possible that the Debugger has uncovered. Most have to do with setting the look and feel to the "system default"
|
||||||
|
|
||||||
|
* Fixed Window.Maximize and Window.Normal - needed special code for Linux
|
||||||
|
* Check for DEFAULT_SCROLLBAR_COLOR not being the COLOR_SYSTEM_DEFAULT (crashed)
|
||||||
|
|
||||||
|
|
||||||
### Upcoming
|
### Upcoming
|
||||||
Make suggestions people! Future release features
|
Make suggestions people! Future release features
|
||||||
|
|
||||||
|
|
13
readme.md
13
readme.md
|
@ -33,9 +33,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.33.0-red.svg?longCache=true&style=for-the-badge)
|
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.34.0-red.svg?longCache=true&style=for-the-badge)
|
||||||
|
|
||||||
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.33.0-blue.svg?longCache=true&style=for-the-badge)
|
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.34.0-blue.svg?longCache=true&style=for-the-badge)
|
||||||
|
|
||||||
![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge)
|
![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge)
|
||||||
|
|
||||||
|
@ -4966,6 +4966,15 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing
|
||||||
|
|
||||||
* Emergency fix due to debugger. Old bug was that Image Element was not testing for COLOR_SYSTEM_DEFAULT correctly.
|
* Emergency fix due to debugger. Old bug was that Image Element was not testing for COLOR_SYSTEM_DEFAULT correctly.
|
||||||
|
|
||||||
|
|
||||||
|
## 3.34.0 PySimpleGUI & 1.34.0 PySimpleGUI27 25-May-2019
|
||||||
|
|
||||||
|
Trying to get the fixes rolled out as quickly as possible that the Debugger has uncovered. Most have to do with setting the look and feel to the "system default"
|
||||||
|
|
||||||
|
* Fixed Window.Maximize and Window.Normal - needed special code for Linux
|
||||||
|
* Check for DEFAULT_SCROLLBAR_COLOR not being the COLOR_SYSTEM_DEFAULT (crashed)
|
||||||
|
|
||||||
|
|
||||||
### Upcoming
|
### Upcoming
|
||||||
Make suggestions people! Future release features
|
Make suggestions people! Future release features
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue