Current Path: > > opt > alt > python34 > lib64 > python3.4 > > idlelib
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Icons | Directory | - | - | |
__pycache__ | Directory | - | - | |
idle_test | Directory | - | - | |
AutoComplete.py | File | 9202 bytes | April 17 2024 17:09:57. | |
AutoCompleteWindow.py | File | 17739 bytes | April 17 2024 17:09:57. | |
AutoExpand.py | File | 3395 bytes | April 17 2024 17:09:57. | |
Bindings.py | File | 3046 bytes | April 17 2024 17:09:57. | |
CREDITS.txt | File | 1865 bytes | March 18 2019 16:51:26. | |
CallTipWindow.py | File | 6034 bytes | April 17 2024 17:09:57. | |
CallTips.py | File | 5932 bytes | April 17 2024 17:09:57. | |
ChangeLog | File | 56393 bytes | March 18 2019 16:51:26. | |
ClassBrowser.py | File | 6999 bytes | April 17 2024 17:09:58. | |
CodeContext.py | File | 8348 bytes | April 17 2024 17:09:57. | |
ColorDelegator.py | File | 9695 bytes | April 17 2024 17:09:57. | |
Debugger.py | File | 18759 bytes | April 17 2024 17:09:57. | |
Delegator.py | File | 665 bytes | April 17 2024 17:09:57. | |
EditorWindow.py | File | 66059 bytes | April 17 2024 17:09:57. | |
FileList.py | File | 3813 bytes | April 17 2024 17:09:57. | |
FormatParagraph.py | File | 7287 bytes | April 17 2024 17:09:58. | |
GrepDialog.py | File | 5124 bytes | April 17 2024 17:09:58. | |
HISTORY.txt | File | 10317 bytes | March 18 2019 16:51:26. | |
HyperParser.py | File | 12877 bytes | April 17 2024 17:09:57. | |
IOBinding.py | File | 19773 bytes | April 17 2024 17:09:57. | |
IdleHistory.py | File | 4052 bytes | April 17 2024 17:09:58. | |
MultiCall.py | File | 18571 bytes | April 17 2024 17:09:57. | |
MultiStatusBar.py | File | 1348 bytes | April 17 2024 17:09:57. | |
NEWS.txt | File | 39835 bytes | March 18 2019 16:51:26. | |
ObjectBrowser.py | File | 3975 bytes | April 17 2024 17:09:57. | |
OutputWindow.py | File | 4394 bytes | April 17 2024 17:09:58. | |
ParenMatch.py | File | 6713 bytes | April 17 2024 17:09:57. | |
PathBrowser.py | File | 3207 bytes | April 17 2024 17:09:57. | |
Percolator.py | File | 3244 bytes | April 17 2024 17:09:58. | |
PyParse.py | File | 20461 bytes | April 17 2024 17:09:57. | |
PyShell.py | File | 58450 bytes | April 17 2024 17:09:57. | |
README.txt | File | 7709 bytes | March 18 2019 16:51:26. | |
RemoteDebugger.py | File | 12007 bytes | April 17 2024 17:09:57. | |
RemoteObjectBrowser.py | File | 964 bytes | April 17 2024 17:09:57. | |
ReplaceDialog.py | File | 6640 bytes | April 17 2024 17:09:57. | |
RstripExtension.py | File | 1050 bytes | April 17 2024 17:09:57. | |
ScriptBinding.py | File | 8061 bytes | April 17 2024 17:09:57. | |
ScrolledList.py | File | 4375 bytes | April 17 2024 17:09:57. | |
SearchDialog.py | File | 2630 bytes | April 17 2024 17:09:57. | |
SearchDialogBase.py | File | 7009 bytes | April 17 2024 17:09:57. | |
SearchEngine.py | File | 7485 bytes | April 17 2024 17:09:58. | |
StackViewer.py | File | 4426 bytes | April 17 2024 17:09:58. | |
TODO.txt | File | 8478 bytes | March 18 2019 16:51:26. | |
ToolTip.py | File | 3173 bytes | April 17 2024 17:09:58. | |
TreeWidget.py | File | 15024 bytes | April 17 2024 17:09:57. | |
UndoDelegator.py | File | 10815 bytes | April 17 2024 17:09:57. | |
WidgetRedirector.py | File | 6869 bytes | April 17 2024 17:09:57. | |
WindowList.py | File | 2472 bytes | April 17 2024 17:09:57. | |
ZoomHeight.py | File | 1300 bytes | April 17 2024 17:09:58. | |
__init__.py | File | 288 bytes | April 17 2024 17:09:57. | |
__main__.py | File | 159 bytes | April 17 2024 17:09:57. | |
aboutDialog.py | File | 6688 bytes | April 17 2024 17:09:57. | |
config-extensions.def | File | 2965 bytes | March 18 2019 16:51:26. | |
config-highlight.def | File | 2515 bytes | March 18 2019 16:51:26. | |
config-keys.def | File | 7777 bytes | March 18 2019 16:51:26. | |
config-main.def | File | 2563 bytes | March 18 2019 16:51:26. | |
configDialog.py | File | 64305 bytes | April 17 2024 17:09:57. | |
configHandler.py | File | 32197 bytes | April 17 2024 17:09:57. | |
configHelpSourceEdit.py | File | 6670 bytes | April 17 2024 17:09:57. | |
configSectionNameDialog.py | File | 4007 bytes | April 17 2024 17:09:57. | |
dynOptionMenuWidget.py | File | 1990 bytes | April 17 2024 17:09:57. | |
extend.txt | File | 3642 bytes | March 18 2019 16:51:26. | |
help.html | File | 41126 bytes | March 18 2019 16:51:26. | |
help.py | File | 9701 bytes | April 17 2024 17:09:57. | |
help.txt | File | 17900 bytes | March 18 2019 16:51:26. | |
idle.py | File | 400 bytes | April 17 2024 17:09:57. | |
idle.pyw | File | 570 bytes | March 18 2019 16:51:26. | |
idlever.py | File | 415 bytes | April 17 2024 17:09:57. | |
keybindingDialog.py | File | 12416 bytes | April 17 2024 17:09:57. | |
macosxSupport.py | File | 8684 bytes | April 17 2024 17:09:57. | |
rpc.py | File | 20782 bytes | April 17 2024 17:09:57. | |
run.py | File | 13673 bytes | April 17 2024 17:09:57. | |
tabbedpages.py | File | 18418 bytes | April 17 2024 17:09:57. | |
textView.py | File | 3225 bytes | April 17 2024 17:09:57. |
# general purpose 'tooltip' routines - currently unused in idlefork # (although the 'calltips' extension is partly based on this code) # may be useful for some purposes in (or almost in ;) the current project scope # Ideas gleaned from PySol from tkinter import * class ToolTipBase: def __init__(self, button): self.button = button self.tipwindow = None self.id = None self.x = self.y = 0 self._id1 = self.button.bind("<Enter>", self.enter) self._id2 = self.button.bind("<Leave>", self.leave) self._id3 = self.button.bind("<ButtonPress>", self.leave) def enter(self, event=None): self.schedule() def leave(self, event=None): self.unschedule() self.hidetip() def schedule(self): self.unschedule() self.id = self.button.after(1500, self.showtip) def unschedule(self): id = self.id self.id = None if id: self.button.after_cancel(id) def showtip(self): if self.tipwindow: return # The tip window must be completely outside the button; # otherwise when the mouse enters the tip window we get # a leave event and it disappears, and then we get an enter # event and it reappears, and so on forever :-( x = self.button.winfo_rootx() + 20 y = self.button.winfo_rooty() + self.button.winfo_height() + 1 self.tipwindow = tw = Toplevel(self.button) tw.wm_overrideredirect(1) tw.wm_geometry("+%d+%d" % (x, y)) self.showcontents() def showcontents(self, text="Your text here"): # Override this in derived class label = Label(self.tipwindow, text=text, justify=LEFT, background="#ffffe0", relief=SOLID, borderwidth=1) label.pack() def hidetip(self): tw = self.tipwindow self.tipwindow = None if tw: tw.destroy() class ToolTip(ToolTipBase): def __init__(self, button, text): ToolTipBase.__init__(self, button) self.text = text def showcontents(self): ToolTipBase.showcontents(self, self.text) class ListboxToolTip(ToolTipBase): def __init__(self, button, items): ToolTipBase.__init__(self, button) self.items = items def showcontents(self): listbox = Listbox(self.tipwindow, background="#ffffe0") listbox.pack() for item in self.items: listbox.insert(END, item) def _tooltip(parent): root = Tk() root.title("Test tooltip") width, height, x, y = list(map(int, re.split('[x+]', parent.geometry()))) root.geometry("+%d+%d"%(x, y + 150)) label = Label(root, text="Place your mouse over buttons") label.pack() button1 = Button(root, text="Button 1") button2 = Button(root, text="Button 2") button1.pack() button2.pack() ToolTip(button1, "This is tooltip text for button1.") ListboxToolTip(button2, ["This is","multiple line", "tooltip text","for button2"]) root.mainloop() if __name__ == '__main__': from idlelib.idle_test.htest import run run(_tooltip)
SILENT KILLER Tool