Release 4.42.0
This commit is contained in:
parent
03f57c7979
commit
06be391d11
9 changed files with 1257 additions and 11 deletions
|
@ -1912,7 +1912,34 @@ Fixed Syntax error in Text.update
|
|||
* tkinter version
|
||||
* PySimpleGUI version
|
||||
* PySimpleGUI filename with full path
|
||||
|
||||
|
||||
|
||||
## 4.42.0 PySimpleGUI 23-May-2021
|
||||
|
||||
New Sizegrip Element
|
||||
New MenubarCustom pseudo-Element
|
||||
Grab Anywhere feature improved
|
||||
|
||||
* New Sizegrip element
|
||||
* Needed in order to resize windows that doesn't have a titlebar
|
||||
* Place as the last element on the last row of your layout
|
||||
* New MenubarCustom Element
|
||||
* Needed when using a custom Titlebar
|
||||
* Provides the ability to have a window that is entirely themed
|
||||
* Without it, was not possible to have a custom Titlebar with a menubar
|
||||
* Works like the traditional Menu Element (the item chosen is returned as the event)
|
||||
* Added new elements to the SDK Reference built into PySimpleGUI and in the call reference documentation online
|
||||
* Grab Anywhere
|
||||
* Finally got the appropriate elements and widgets excluded! Yeah!
|
||||
* Now Multiline, Input, Slider, Pane, Sizegrip, active scrollbars will not move the window
|
||||
* Additionally, a new method Element.grab_anywhere_exclude() will exclude your element from being grabbed
|
||||
* Useful for Graph elements
|
||||
* Sometimes you'll have a window with graphs that you can to be able to move using Graph element
|
||||
* Other times, you are using your Graph element with drag option set. In this case, you will want to exclude it.
|
||||
* Improved torn-off menu placement. Now places them at the window's location
|
||||
* Combo element new bind_return_key parameter - if set, when return key is pressed and element is focused, then event will be generated. Works like the Listbox's bind_return_key
|
||||
* Fix for changing the title of a Tab using
|
||||
|
||||
|
||||
## Upcoming
|
||||
|
||||
|
|
|
@ -41,6 +41,9 @@ Here are all of the Elements, the Window & SystemTray classes, and all functions
|
|||
### get_text
|
||||
<!-- <+Button.get_text+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Button.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Button.hide_row+> -->
|
||||
|
||||
|
@ -114,6 +117,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+ButtonMenu.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+ButtonMenu.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+ButtonMenu.hide_row+> -->
|
||||
|
||||
|
@ -185,6 +191,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Canvas.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Canvas.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Canvas.hide_row+> -->
|
||||
|
||||
|
@ -252,6 +261,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Checkbox.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Checkbox.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Checkbox.hide_row+> -->
|
||||
|
||||
|
@ -326,6 +338,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Column.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Column.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Column.hide_row+> -->
|
||||
|
||||
|
@ -408,6 +423,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Combo.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Combo.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Combo.hide_row+> -->
|
||||
|
||||
|
@ -480,6 +498,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Frame.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Frame.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Frame.hide_row+> -->
|
||||
|
||||
|
@ -602,6 +623,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Graph.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Graph.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Graph.hide_row+> -->
|
||||
|
||||
|
@ -737,6 +761,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+HorizontalSeparator.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+HorizontalSeparator.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+HorizontalSeparator.hide_row+> -->
|
||||
|
||||
|
@ -797,6 +824,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Image.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Image.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Image.hide_row+> -->
|
||||
|
||||
|
@ -875,6 +905,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Input.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Input.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Input.hide_row+> -->
|
||||
|
||||
|
@ -956,6 +989,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Listbox.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Listbox.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Listbox.hide_row+> -->
|
||||
|
||||
|
@ -1036,6 +1072,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Menu.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Menu.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Menu.hide_row+> -->
|
||||
|
||||
|
@ -1086,6 +1125,17 @@ The following methods are here for backwards compatibility reference. You will
|
|||
---------
|
||||
|
||||
|
||||
## MenubarCustom Element
|
||||
|
||||
Note that while the MenubarCustom is an element, it is implemented using a function.
|
||||
It is actually a "compound element" that consists of several elements combined into a single Column element.
|
||||
See the Column element to get a list of method calls available. The function returns a Column element.
|
||||
|
||||
<!-- <+func.MenubarCustom+> -->
|
||||
|
||||
|
||||
---------
|
||||
|
||||
## Multiline Element
|
||||
<!-- <+Multiline.doc+> -->
|
||||
<!-- <+Multiline.__init__+> -->
|
||||
|
@ -1105,6 +1155,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Multiline.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Multiline.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Multiline.hide_row+> -->
|
||||
|
||||
|
@ -1193,6 +1246,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+OptionMenu.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+OptionMenu.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+OptionMenu.hide_row+> -->
|
||||
|
||||
|
@ -1263,6 +1319,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Output.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Output.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Output.hide_row+> -->
|
||||
|
||||
|
@ -1342,6 +1401,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Pane.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Pane.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Pane.hide_row+> -->
|
||||
|
||||
|
@ -1407,6 +1469,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+ProgressBar.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+ProgressBar.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+ProgressBar.hide_row+> -->
|
||||
|
||||
|
@ -1483,6 +1548,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Radio.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Radio.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Radio.hide_row+> -->
|
||||
|
||||
|
@ -1543,6 +1611,59 @@ The following methods are here for backwards compatibility reference. You will
|
|||
---------
|
||||
|
||||
|
||||
## Sizegrip Element
|
||||
<!-- <+Sizegrip.doc+> -->
|
||||
<!-- <+Sizegrip.__init__+> -->
|
||||
|
||||
### bind
|
||||
<!-- <+Sizegrip.bind+> -->
|
||||
|
||||
### expand
|
||||
<!-- <+Sizegrip.expand+> -->
|
||||
|
||||
### get_size
|
||||
<!-- <+Sizegrip.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Sizegrip.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Sizegrip.hide_row+> -->
|
||||
|
||||
### metadata
|
||||
<!-- <+Sizegrip.metadata+> -->
|
||||
|
||||
### set_cursor
|
||||
<!-- <+Sizegrip.set_cursor+> -->
|
||||
|
||||
### set_focus
|
||||
<!-- <+Sizegrip.set_focus+> -->
|
||||
|
||||
### set_size
|
||||
<!-- <+Sizegrip.set_size+> -->
|
||||
|
||||
### set_tooltip
|
||||
<!-- <+Sizegrip.set_tooltip+> -->
|
||||
|
||||
### set_vscroll_position
|
||||
<!-- <+Sizegrip.set_vscroll_position+> -->
|
||||
|
||||
### unbind
|
||||
<!-- <+Sizegrip.unbind+> -->
|
||||
|
||||
### unhide_row
|
||||
<!-- <+Sizegrip.unhide_row+> -->
|
||||
|
||||
### update
|
||||
<!-- <+Sizegrip.update+> -->
|
||||
|
||||
### visible
|
||||
<!-- <+Sizegrip.visible+> -->
|
||||
|
||||
|
||||
---------
|
||||
|
||||
|
||||
## Slider Element
|
||||
<!-- <+Slider.doc+> -->
|
||||
<!-- <+Slider.__init__+> -->
|
||||
|
@ -1559,6 +1680,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Slider.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Slider.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Slider.hide_row+> -->
|
||||
|
||||
|
@ -1628,6 +1752,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Spin.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Spin.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Spin.hide_row+> -->
|
||||
|
||||
|
@ -1696,6 +1823,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+StatusBar.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+StatusBar.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+StatusBar.hide_row+> -->
|
||||
|
||||
|
@ -1765,6 +1895,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Tab.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Tab.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Tab.hide_row+> -->
|
||||
|
||||
|
@ -1853,6 +1986,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+TabGroup.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+TabGroup.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+TabGroup.hide_row+> -->
|
||||
|
||||
|
@ -1926,6 +2062,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Table.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Table.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Table.hide_row+> -->
|
||||
|
||||
|
@ -1994,6 +2133,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+Text.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Text.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Text.hide_row+> -->
|
||||
|
||||
|
@ -2055,6 +2197,7 @@ See the Column element to get a list of method calls available. The function re
|
|||
|
||||
<!-- <+func.Titlebar+> -->
|
||||
|
||||
---------
|
||||
|
||||
## Tree Element
|
||||
<!-- <+Tree.doc+> -->
|
||||
|
@ -2075,6 +2218,9 @@ See the Column element to get a list of method calls available. The function re
|
|||
### get_size
|
||||
<!-- <+Tree.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+Tree.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+Tree.hide_row+> -->
|
||||
|
||||
|
@ -2159,6 +2305,9 @@ The following methods are here for backwards compatibility reference. You will
|
|||
### get_size
|
||||
<!-- <+VerticalSeparator.get_size+> -->
|
||||
|
||||
### grab_anywhere_exclude
|
||||
<!-- <+VerticalSeparator.grab_anywhere_exclude+> -->
|
||||
|
||||
### hide_row
|
||||
<!-- <+VerticalSeparator.hide_row+> -->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue