[Idle-dev] [ idlefork-Patches-796254 ] Make EditorWindow re-usable
SourceForge.net
noreply at sourceforge.net
Wed Aug 27 14:46:41 EDT 2003
Patches item #796254, was opened at 2003-08-27 13:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=796254&group_id=9579
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make EditorWindow re-usable
Initial Comment:
These patches introduce 2 modifications that make
PyShell and EditorWindow easier to re-use by other
applications:
1 - We create the global variable use_subprocess in the
PyShell.py module rather thatn under __main__ in this
file. This allwos us to instanciate a PyShell without
using the script under __main__
2 - 3 new optional attributes have been added to the
EditorWindow constructor: top=None, height=None,
width=None. These arguments allow to specify the aprent
widget into which the EditorWindow has to be created as
well as the dimensions of the Editor (lines and
columns) use when the editor is created. The flist
option has been amde optional and the code has been
patch up accomodate flist being None.
We use PyShell to expose the Python interpreter running
out application PMV
(http://www.scripps.edu/~sanner/python/pmv) and the
EditorWindow as a python-syntax-aware editor in our
visual programing environment ViPEr
(http://www.scripps.edu/~sanner/python/viper).
Michel Sanner and Sophie Coon
sanner at scripps.edu
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=796254&group_id=9579
More information about the IDLE-dev
mailing list