PATH: //proc/self/root/opt/alt/python35/lib64/python3.5/idlelib
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 AutoComplete.py
↓
X
📄 AutoCompleteWindow.py
↓
X
📄 AutoExpand.py
↓
X
📄 Bindings.py
↓
X
📄 CREDITS.txt
↓
X
📄 CallTipWindow.py
↓
X
📄 CallTips.py
↓
X
📄 ChangeLog
↓
X
📄 ClassBrowser.py
↓
X
📄 CodeContext.py
↓
X
📄 ColorDelegator.py
↓
X
📄 Debugger.py
↓
X
📄 Delegator.py
↓
X
📄 EditorWindow.py
↓
X
📄 FileList.py
↓
X
📄 FormatParagraph.py
↓
X
📄 GrepDialog.py
↓
X
📄 HISTORY.txt
↓
X
📄 HyperParser.py
↓
X
📄 IOBinding.py
↓
X
📁 Icons/
X
📄 IdleHistory.py
↓
X
📄 MultiCall.py
↓
X
📄 MultiStatusBar.py
↓
X
📄 NEWS.txt
↓
X
📄 NEWS2x.txt
↓
X
📄 ObjectBrowser.py
↓
X
📄 OutputWindow.py
↓
X
📄 ParenMatch.py
↓
X
📄 PathBrowser.py
↓
X
📄 Percolator.py
↓
X
📄 PyParse.py
↓
X
📄 PyShell.py
↓
X
📄 README.txt
↓
X
📄 RemoteDebugger.py
↓
X
📄 RemoteObjectBrowser.py
↓
X
📄 ReplaceDialog.py
↓
X
📄 RstripExtension.py
↓
X
📄 ScriptBinding.py
↓
X
📄 ScrolledList.py
↓
X
📄 SearchDialog.py
↓
X
📄 SearchDialogBase.py
↓
X
📄 SearchEngine.py
↓
X
📄 StackViewer.py
↓
X
📄 TODO.txt
↓
X
📄 ToolTip.py
↓
X
📄 TreeWidget.py
↓
X
📄 UndoDelegator.py
↓
X
📄 WidgetRedirector.py
↓
X
📄 WindowList.py
↓
X
📄 ZoomHeight.py
↓
X
📄 __init__.py
↓
X
📄 __main__.py
↓
X
📁 __pycache__/
X
📄 aboutDialog.py
↓
X
📄 config-extensions.def
↓
X
📄 config-highlight.def
↓
X
📄 config-keys.def
↓
X
📄 config-main.def
↓
X
📄 configDialog.py
↓
X
📄 configHandler.py
↓
X
📄 configHelpSourceEdit.py
↓
X
📄 configSectionNameDialog.py
↓
X
📄 dynOptionMenuWidget.py
↓
X
📄 extend.txt
↓
X
📄 help.html
↓
X
📄 help.py
↓
X
📄 help.txt
↓
X
📄 idle.py
↓
X
📄 idle.pyw
↓
X
📁 idle_test/
X
📄 idlever.py
↓
X
📄 keybindingDialog.py
↓
X
📄 macosxSupport.py
↓
X
📄 rpc.py
↓
X
📄 run.py
↓
X
📄 tabbedpages.py
↓
X
📄 textView.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: ZoomHeight.py
# Sample extension: zoom a window to maximum height import re import sys from idlelib import macosxSupport class ZoomHeight: menudefs = [ ('windows', [ ('_Zoom Height', '<<zoom-height>>'), ]) ] def __init__(self, editwin): self.editwin = editwin def zoom_height_event(self, event): top = self.editwin.top zoom_height(top) def zoom_height(top): geom = top.wm_geometry() m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom) if not m: top.bell() return width, height, x, y = map(int, m.groups()) newheight = top.winfo_screenheight() if sys.platform == 'win32': newy = 0 newheight = newheight - 72 elif macosxSupport.isAquaTk(): # The '88' below is a magic number that avoids placing the bottom # of the window below the panel on my machine. I don't know how # to calculate the correct value for this with tkinter. newy = 22 newheight = newheight - newy - 88 else: #newy = 24 newy = 0 #newheight = newheight - 96 newheight = newheight - 88 if height >= newheight: newgeom = "" else: newgeom = "%dx%d+%d+%d" % (width, newheight, x, newy) top.wm_geometry(newgeom)
SIMPAN PERUBAHAN