summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/CallTips.py
Commit message (Expand)AuthorAgeFilesLines
* Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-271-6/+9
* Issue #16638: Include up to 5 docstring header lines (before first blank) inTerry Jan Reedy2014-01-221-10/+16
* Issue #16630: Make Idle calltips work even when __getattr__ raises.Terry Jan Reedy2014-01-211-31/+33
* Issue #20122: Idlelib: Move tests in CallTips.py to test_calltips.py.Terry Jan Reedy2014-01-211-105/+0
* Issue #15392: Create a unittest framework for IDLE.Terry Jan Reedy2013-05-281-1/+3
* Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.Chris Jerdonek2012-12-101-1/+1
* Issue 12510: Delete actual first param name for all methods; revise tests.Terry Jan Reedy2012-07-091-14/+20
* Issue #12510: Revise and triple # of calltip tests, with an eye to unittestTerry Jan Reedy2012-06-071-70/+123
* Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive nameTerry Jan Reedy2012-06-031-15/+17
* Issue12510: Attempting to get invalid tooltip no longer closes Idle.Terry Jan Reedy2012-05-281-3/+6
* Removed the API to create unbound methods and simplified the API for bound me...Christian Heimes2007-11-271-3/+3
* Use inspect.py and clean up.Kurt B. Kaiser2007-08-301-77/+61
* Fix another map(...) --> list(map...)Kurt B. Kaiser2007-08-261-1/+1
* Switch to absolute imports to support direct execution of modules. ManyKurt B. Kaiser2007-08-221-2/+2
* Merged revisions 56483-56491 via svnmerge fromMartin v. Löwis2007-07-221-1/+1
* Merged revisions 56443-56466 via svnmerge fromGuido van Rossum2007-07-201-2/+2
* Merged revisions 55795-55816 via svnmerge fromGuido van Rossum2007-06-071-3/+3
* Merged revisions 55328-55341 via svnmerge fromGuido van Rossum2007-05-151-4/+2
* Change all the function attributes from func_* -> __*__. This gets ridNeal Norwitz2007-02-251-5/+5
* Merged revisions 53623-53858 via svnmerge fromThomas Wouters2007-02-231-36/+45
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-3/+3
* Merged revisions 46753-51188 via svnmerge fromThomas Wouters2006-08-111-1/+1
* Merge IDLE-syntax-branch r39668:41449 into trunkKurt B. Kaiser2005-11-181-44/+40
* Testing for None should be done with 'is'Raymond Hettinger2004-05-041-1/+1
* 1. Python Bug 775541: Calltips error when docstring is None. IntroducedKurt B. Kaiser2003-07-231-1/+2
* SF bug #769142: CallTip trimming may loop forever.Raymond Hettinger2003-07-131-3/+1
* Whitespace NormalizationKurt B. Kaiser2002-12-311-5/+5
* M CallTipWindow.pyKurt B. Kaiser2002-12-121-7/+22
* M CallTips.py Add support for getting calltip from subprocess,Kurt B. Kaiser2002-10-101-37/+55
* Merge Py Idle changesKurt B. Kaiser2002-09-151-7/+11
* MERGE DS_RPC_BRANCH into MAINKurt B. Kaiser2002-09-141-1/+4
* changeover to new keybinding configuration implementationSteven M. Gava2002-01-191-13/+0
* py-cvs-rel2_1 (Rev 1.8) merge - whitespace normalizationKurt B. Kaiser2001-07-121-3/+3
* Initial revisionDavid Scherer2000-08-151-0/+190
//www.python.org/idle/', justify=LEFT, fg=self.fg, bg=self.bg) labelWWW.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0) Frame(frameBg, borderwidth=1, relief=SUNKEN, height=2, bg=self.bg).grid(row=8, column=0, sticky=EW, columnspan=3, padx=5, pady=5) labelPythonVer = Label(frameBg, text='Python version: ' + \ sys.version.split()[0], fg=self.fg, bg=self.bg) labelPythonVer.grid(row=9, column=0, sticky=W, padx=10, pady=0) tkVer = self.tk.call('info', 'patchlevel') labelTkVer = Label(frameBg, text='Tk version: '+ tkVer, fg=self.fg, bg=self.bg) labelTkVer.grid(row=9, column=1, sticky=W, padx=2, pady=0) py_button_f = Frame(frameBg, bg=self.bg) py_button_f.grid(row=10, column=0, columnspan=2, sticky=NSEW) buttonLicense = Button(py_button_f, text='License', width=8, highlightbackground=self.bg, command=self.ShowLicense) buttonLicense.pack(side=LEFT, padx=10, pady=10) buttonCopyright = Button(py_button_f, text='Copyright', width=8, highlightbackground=self.bg, command=self.ShowCopyright) buttonCopyright.pack(side=LEFT, padx=10, pady=10) buttonCredits = Button(py_button_f, text='Credits', width=8, highlightbackground=self.bg, command=self.ShowPythonCredits) buttonCredits.pack(side=LEFT, padx=10, pady=10) Frame(frameBg, borderwidth=1, relief=SUNKEN, height=2, bg=self.bg).grid(row=11, column=0, sticky=EW, columnspan=3, padx=5, pady=5) idle_v = Label(frameBg, text='IDLE version: ' + idlever.IDLE_VERSION, fg=self.fg, bg=self.bg) idle_v.grid(row=12, column=0, sticky=W, padx=10, pady=0) idle_button_f = Frame(frameBg, bg=self.bg) idle_button_f.grid(row=13, column=0, columnspan=3, sticky=NSEW) idle_about_b = Button(idle_button_f, text='README', width=8, highlightbackground=self.bg, command=self.ShowIDLEAbout) idle_about_b.pack(side=LEFT, padx=10, pady=10) idle_news_b = Button(idle_button_f, text='NEWS', width=8, highlightbackground=self.bg, command=self.ShowIDLENEWS) idle_news_b.pack(side=LEFT, padx=10, pady=10) idle_credits_b = Button(idle_button_f, text='Credits', width=8, highlightbackground=self.bg, command=self.ShowIDLECredits) idle_credits_b.pack(side=LEFT, padx=10, pady=10) def ShowLicense(self): self.display_printer_text('About - License', license) def ShowCopyright(self): self.display_printer_text('About - Copyright', copyright) def ShowPythonCredits(self): self.display_printer_text('About - Python Credits', credits) def ShowIDLECredits(self): self.display_file_text('About - Credits', 'CREDITS.txt', 'iso-8859-1') def ShowIDLEAbout(self): self.display_file_text('About - Readme', 'README.txt') def ShowIDLENEWS(self): self.display_file_text('About - NEWS', 'NEWS.txt') def display_printer_text(self, title, printer): printer._Printer__setup() text = '\n'.join(printer._Printer__lines) textView.view_text(self, title, text) def display_file_text(self, title, filename, encoding=None): fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename) textView.view_file(self, title, fn, encoding) def Ok(self, event=None): self.destroy() if __name__ == '__main__': # test the dialog root = Tk() def run(): from idlelib import aboutDialog aboutDialog.AboutDialog(root, 'About') Button(root, text='Dialog', command=run).pack() root.mainloop()