This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Extension to Calltips / Show attributes
Type: Stage:
Components: IDLE Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, kbk, loewis, mliebmann, mwh
Priority: low Keywords: patch

Created on 2002-03-03 11:58 by mliebmann, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
CallTips.zip mliebmann, 2002-03-03 11:58 unified diffs of CallTips.py and CallTipWindow.py
CallTips.zip mliebmann, 2002-03-07 21:41 Patched version of CallTips.py + CallTipWindows.py
Messages (7)
msg39125 - (view) Author: Martin Liebmann (mliebmann) Date: 2002-03-03 11:58
The attached files (unified diff files) implement a 
(quick and dirty but usefull) extension to IDLE 0.8 
(Python 2.2)

- Tested on WINDOWS 95/98/NT/2000 -

Similar to "CallTips" this extension shows (context 
sensitive) all available member functions and 
attributes of the current object after hitting 
the 'dot'-key.

The toplevel help widget now supports scrolling. (Key-
Up and Key-Down events)

...that is why I changed among else the first argument 
of 'showtip' from 'text string' to a 'list of text 
strings' ...

The 'space'-key is used to insert the topmost item of 
the help widget into an IDLE text window.

...the even handling seems to be a critical part of 
the current IDLE implementation. That is why I added 
the new functionallity as a patch of CallTips.py and 
CallTipWindow.py. May be you still have a better 
implementation ...

Greetings
Martin Liebmann
msg39126 - (view) Author: Martin Liebmann (mliebmann) Date: 2002-03-03 22:02
Logged In: YES 
user_id=475133

'<Key-.>' must be substituted by '.' within CallTip.py !
( Linux do not support an event named <Key-.> )

Running idle on Linux, I found the warning, that 'import *' 
is not allowed within function '_dir_main' of CallTip.py ???
Nevertheless CallTips works fine on Linux
msg39127 - (view) Author: Martin Liebmann (mliebmann) Date: 2002-03-07 21:41
Logged In: YES 
user_id=475133

Patched and more robust version of the extended files 
CallTips.py and CallTipWindows.py. (Now more compatible to 
earlier versions of python)

msg39128 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-03-16 16:40
Logged In: YES 
user_id=6656

feature --> not in 2.2.x
msg39129 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-07-18 15:36
Logged In: YES 
user_id=6380

I'm really sorry, I just don't have the time to hack on
IDLE. Perhaps you can resubmit this patch to the IDLEFORK
project (also at SF)?
msg39130 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-09-17 15:29
Logged In: YES 
user_id=21627

There has been posted a memorandum on IDLE patches recently;
all change *must* be contributed to the idlefork project
here on SF. Rejecting this patch.
msg39131 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2002-09-19 14:31
Logged In: YES 
user_id=149084

Accepted this as an Idlefork patch.  
History
Date User Action Args
2022-04-10 16:05:03adminsetgithub: 36190
2002-03-03 11:58:47mliebmanncreate