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

noreply@sourceforge.net noreply@sourceforge.net
Sun, 03 Mar 2002 03:58:48 -0800


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

Category: IDLE
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
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

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

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