Backed out column changes.
This commit is contained in:
parent
96e6e0a178
commit
6725c21d9b
|
@ -1,13 +1,23 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
version = __version__ = "4.52.0 Released 21-Oct-2021"
|
|
||||||
|
version = __version__ = "4.51.2.2 Unreleased"
|
||||||
|
|
||||||
_change_log = """
|
_change_log = """
|
||||||
|
|
||||||
Changelog since 4.52.0 released to PyPI on 21-Oct-2021
|
Changelog since 4.51.2 release to PyPI on 19-Oct-2021
|
||||||
|
|
||||||
4.52.0.1
|
|
||||||
|
|
||||||
|
4.51.2.1
|
||||||
|
New Window parameter! grab_anywhere_using_control
|
||||||
|
Default is TRUE
|
||||||
|
Feels like a risky change to have default to True, but it also means no one changes their code and gets the feature
|
||||||
|
If enabled, you can use the control key + Left Mouse button to move your Window, just like Grab Anywhere.
|
||||||
|
Enables you to move windows that you can no longer reach the titlebar for
|
||||||
|
Let's see if anyone notices or complains
|
||||||
|
4.51.2.2
|
||||||
|
Backed out the changes to Column element
|
||||||
|
Added for for control click move
|
||||||
|
Added main_upgrade_from_github
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
||||||
|
@ -13284,10 +13294,6 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
|
||||||
expand = False
|
expand = False
|
||||||
return expand, fill, row_should_expand, row_fill_direction
|
return expand, fill, row_should_expand, row_fill_direction
|
||||||
|
|
||||||
def _column_configure(event, canvas, frame_id):
|
|
||||||
canvas.itemconfig(frame_id, width=canvas.winfo_width())
|
|
||||||
canvas.itemconfig(frame_id, height=canvas.winfo_height())
|
|
||||||
|
|
||||||
tclversion_detailed = tkinter.Tcl().eval('info patchlevel')
|
tclversion_detailed = tkinter.Tcl().eval('info patchlevel')
|
||||||
|
|
||||||
|
|
||||||
|
@ -13379,9 +13385,6 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
|
||||||
highlightthickness=0)
|
highlightthickness=0)
|
||||||
element.TKColFrame.config(background=element.BackgroundColor, borderwidth=0,
|
element.TKColFrame.config(background=element.BackgroundColor, borderwidth=0,
|
||||||
highlightthickness=0)
|
highlightthickness=0)
|
||||||
frame_id = element.Widget.frame_id
|
|
||||||
canvas = element.Widget.canvas
|
|
||||||
canvas.bind("<Configure>", lambda event, canvas=element.TKColFrame.canvas, frame_id=frame_id: _column_configure(event, canvas, frame_id))
|
|
||||||
|
|
||||||
# ----------------------- PLAIN Column ----------------------
|
# ----------------------- PLAIN Column ----------------------
|
||||||
else:
|
else:
|
||||||
|
@ -13407,8 +13410,6 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
|
||||||
element.TKColFrame.config(background=element.BackgroundColor, borderwidth=0,
|
element.TKColFrame.config(background=element.BackgroundColor, borderwidth=0,
|
||||||
highlightthickness=0)
|
highlightthickness=0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if element.Justification is None:
|
if element.Justification is None:
|
||||||
pass
|
pass
|
||||||
elif element.Justification.lower().startswith('l'):
|
elif element.Justification.lower().startswith('l'):
|
||||||
|
@ -14565,6 +14566,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
|
||||||
element.TooltipObject = ToolTip(labeled_frame, text=element.Tooltip, timeout=DEFAULT_TOOLTIP_TIME)
|
element.TooltipObject = ToolTip(labeled_frame, text=element.Tooltip, timeout=DEFAULT_TOOLTIP_TIME)
|
||||||
_add_right_click_menu(element)
|
_add_right_click_menu(element)
|
||||||
|
|
||||||
|
|
||||||
# row_should_expand=True
|
# row_should_expand=True
|
||||||
# ------------------------- Tab placement element ------------------------- #
|
# ------------------------- Tab placement element ------------------------- #
|
||||||
elif element_type == ELEM_TYPE_TAB:
|
elif element_type == ELEM_TYPE_TAB:
|
||||||
|
@ -21846,9 +21848,10 @@ def _upgrade_gui():
|
||||||
else:
|
else:
|
||||||
popup_quick_message('Cancelled upgrade\nNothing overwritten', background_color='red', text_color='white', keep_on_top=True, non_blocking=False)
|
popup_quick_message('Cancelled upgrade\nNothing overwritten', background_color='red', text_color='white', keep_on_top=True, non_blocking=False)
|
||||||
|
|
||||||
|
|
||||||
main_upgrade_from_github = _upgrade_gui
|
main_upgrade_from_github = _upgrade_gui
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
# M"""""`'"""`YM oo
|
# M"""""`'"""`YM oo
|
||||||
|
|
Loading…
Reference in New Issue