[Patches] [ python-Patches-525109 ] Extension to Calltips / Show attributes

noreply@sourceforge.net noreply@sourceforge.net
Thu, 18 Jul 2002 08:36:57 -0700


Patches item #525109, was opened at 2002-03-03 06:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=525109&group_id=5470

Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
>Priority: 3
Submitted By: Martin Liebmann (mliebmann)
>Assigned to: Nobody/Anonymous (nobody)
Summary: Extension to Calltips / Show attributes

Initial Comment:
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

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-07-18 11:36

Message:
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)?

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-16 11:40

Message:
Logged In: YES 
user_id=6656

feature --> not in 2.2.x

----------------------------------------------------------------------

Comment By: Martin Liebmann (mliebmann)
Date: 2002-03-07 16:41

Message:
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)



----------------------------------------------------------------------

Comment By: Martin Liebmann (mliebmann)
Date: 2002-03-03 17:02

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=525109&group_id=5470