/opt/imh/python3.13/lib/python3.13/idlelib/__pycache__
Edit: /opt/imh/python3.13/lib/python3.13/idlelib/__pycache__/zoomheight.cpython-313.pyc (4528B)
ek S r SSKrSSKrSSKr " S S\5 r " S S5 rS rS r\ S :X a SS
K
Jr \" SSS
S9 gg)z Zoom a window to maximum height. Nc \ rS rSrSrg)WmInfoGatheringError N)__name__
__module____qualname____firstlineno____static_attributes__r 8/opt/imh/python3.13/lib/python3.13/idlelib/zoomheight.pyr r s r r c 4 \ rS rSr0 rS rSS jrS rS rSr g)
ZoomHeight c F Xl U R R U l g Neditwintop)selfr s r
__init__ZoomHeight.__init__ s <<##r Nc U R 5 nUc U R R 5 gU( a SOSnU R R SSU S3S9 g)NRestoreZoomoptionsz* Heightz Height)menuindexlabelbreak)zoom_heightr bellr update_menu_label)r eventzoomedmenu_statuss r
zoom_height_eventZoomHeight.zoom_height_event s] !!#>HHMMO (.)6KLL** 4?=1H
+
J r c U R n[ U5 u p#pEUR 5 S:w a g U R 5 u pgX6:w a [ XXdU45 gUR
S5 g! [ a g f = f)NnormalT F)r get_window_geometrywm_stateget_max_height_and_y_coordr set_window_geometrywm_geometry)r r widthheightxy maxheightmaxys r
r! ZoomHeight.zoom_height! s hh1#6q<<>X% "==?OI Y4%@A
OOB $ s A) )
A65A6c U R nUR 5 UR 5 4nX R ; a UR 5 n UR S5 UR 5 [ U5 u pEpg[ R S:X a SnUR 5 nUR S5 UR 5 [ U5 n U S S U4- n
[ X5 UR 5 UR 5 nXXU-
-
nXW4U R U' [ X5 UR U5 U R U $ ! [
R a [ S5 ef = f)Nr% z_Failed getting geometry of maximized windows, because the "zoomed" window state is unavailable.win32r r* )r winfo_screenwidthwinfo_screenheight_max_height_and_y_coordsr- tkinterTclErrorr updater, sysplatformwinfo_rootyr/ )r r screen_dimensions
orig_statemaxwidthr5 maxxr6 maxrooty orig_geom
max_y_geommax_y_geom_rootys r
r. %ZoomHeight.get_max_height_and_y_coord<