mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Implemented balloon help for EditPythonPrefs
This commit is contained in:
parent
80b5329f76
commit
b95901ec2e
4 changed files with 250 additions and 30 deletions
|
@ -15,6 +15,7 @@ import sys
|
||||||
import Res # For Res.Error
|
import Res # For Res.Error
|
||||||
import pythonprefs
|
import pythonprefs
|
||||||
import EasyDialogs
|
import EasyDialogs
|
||||||
|
import Help
|
||||||
|
|
||||||
# resource IDs in our own resources (dialogs, etc)
|
# resource IDs in our own resources (dialogs, etc)
|
||||||
MESSAGE_ID = 256
|
MESSAGE_ID = 256
|
||||||
|
@ -26,6 +27,7 @@ CANCEL_ITEM = 3
|
||||||
DIR_ITEM = 4
|
DIR_ITEM = 4
|
||||||
TITLE_ITEM = 5
|
TITLE_ITEM = 5
|
||||||
OPTIONS_ITEM = 7
|
OPTIONS_ITEM = 7
|
||||||
|
HELP_ITEM = 9
|
||||||
|
|
||||||
# The options dialog. There is a correspondence between
|
# The options dialog. There is a correspondence between
|
||||||
# the dialog item numbers and the option.
|
# the dialog item numbers and the option.
|
||||||
|
@ -43,7 +45,10 @@ opt_dialog_map = [
|
||||||
"keeperror",
|
"keeperror",
|
||||||
"nointopt",
|
"nointopt",
|
||||||
"noargs",
|
"noargs",
|
||||||
"delayconsole"]
|
"delayconsole",
|
||||||
|
None, None, None, None, None, None, None, None, # 11-18 are different
|
||||||
|
"oldexc",
|
||||||
|
"nosite"]
|
||||||
opt_dialog_dict = {}
|
opt_dialog_dict = {}
|
||||||
for i in range(len(opt_dialog_map)):
|
for i in range(len(opt_dialog_map)):
|
||||||
if opt_dialog_map[i]:
|
if opt_dialog_map[i]:
|
||||||
|
@ -54,6 +59,7 @@ OD_CREATOR_ITEM = 11
|
||||||
OD_TYPE_ITEM = 12
|
OD_TYPE_ITEM = 12
|
||||||
OD_OK_ITEM = 13
|
OD_OK_ITEM = 13
|
||||||
OD_CANCEL_ITEM = 14
|
OD_CANCEL_ITEM = 14
|
||||||
|
OD_HELP_ITEM = 22
|
||||||
|
|
||||||
def optinteract(options):
|
def optinteract(options):
|
||||||
"""Let the user interact with the options dialog"""
|
"""Let the user interact with the options dialog"""
|
||||||
|
@ -86,6 +92,9 @@ def optinteract(options):
|
||||||
return
|
return
|
||||||
elif n in (OD_CREATOR_ITEM, OD_TYPE_ITEM):
|
elif n in (OD_CREATOR_ITEM, OD_TYPE_ITEM):
|
||||||
pass
|
pass
|
||||||
|
elif n == OD_HELP_ITEM:
|
||||||
|
onoff = Help.HMGetBalloons()
|
||||||
|
Help.HMSetBalloons(not onoff)
|
||||||
elif 1 <= n <= len(opt_dialog_map):
|
elif 1 <= n <= len(opt_dialog_map):
|
||||||
options[opt_dialog_map[n]] = (not options[opt_dialog_map[n]])
|
options[opt_dialog_map[n]] = (not options[opt_dialog_map[n]])
|
||||||
|
|
||||||
|
@ -121,6 +130,9 @@ def interact(options, title):
|
||||||
fss, ok = macfs.GetDirectory('Select python home folder:')
|
fss, ok = macfs.GetDirectory('Select python home folder:')
|
||||||
if ok:
|
if ok:
|
||||||
options['dir'] = fss
|
options['dir'] = fss
|
||||||
|
elif n == HELP_ITEM:
|
||||||
|
onoff = Help.HMGetBalloons()
|
||||||
|
Help.HMSetBalloons(not onoff)
|
||||||
if n == OPTIONS_ITEM:
|
if n == OPTIONS_ITEM:
|
||||||
noptions = options
|
noptions = options
|
||||||
for k in options.keys():
|
for k in options.keys():
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
(This file must be converted with BinHex 4.0)
|
(This file must be converted with BinHex 4.0)
|
||||||
|
|
||||||
:&%9NDA43HA4SEfj3FQ9QFbjbFh*M!(*cFQ058d9%!3#3"`m!q1)!N!3"!!!!$Em
|
:&%9NDA43HA4SEfj3FQ9QFbjbFh*M!(*cFQ058d9%!3#3"ajPp+-!N!3"!!!!(0`
|
||||||
!!!br!!!"36B8)&3JD!!8)&"p%E"S%3!k!@FQ%Lm-6VS#$!`k!&Tj&%9NDA43HA4
|
!!"[F!!!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KY!"X!N!dJ!!-!N!aSE3!F!*!0)!!$!*!-D'd!(3#3$5!!!`#
|
||||||
|
3$'KY!"i!N!d%!3!!"!%!!!3"!!!%!3!!)!!$!*!-D'd!(`#3"'KY!#!!N!8J!!-
|
||||||
|
!N!aSE3!K!*!%D'd!)J#3"33"!!!J!!-!N!aSE3!'!*!1!3!!!"cF!!!Eh!!!!BN
|
||||||
|
"d`Ei0h3!!!!F!AS!$N*14%`!!!"k5801)`!!!)C659T&!!!!NNC548B!!3#HD@0
|
||||||
|
c)`!!!,CTBf`i!!!!`QPMFcJ!!!$1D@0c0!!!!0TTBf`d!!!!jN4-6dF!!3$b4%P
|
||||||
|
86!!"!3T3HA3`!!!")P"*3e3!!!%Z8e45)`!!!6TSC'aR!!%"4J#!rrm!!!ND!*!
|
||||||
|
%!5crr`#3#2q3"!!!!33!N!@!rrm!!!%5!*!&JIrr!!!*$`#3"!%Xrrm!!!%G!*!
|
||||||
|
%!5crr`!!!@%!N!3",2rr!!!&C3#3"!%Xrrm!!!CT!*!%!5crr`!!"Zd!N!3"rrr
|
||||||
|
r!!!)m3#3"!(qrrm!!!P#!*!%!Irrr`!!$E-!N!3"r[rr!!!+l3#3#JN+!*!%kF,
|
||||||
|
rrb!!#9X!N!4SEIrr)!!1i`(6"4J"rrrr)!!BX!(6"``"r[rr)!!CNJ(6"E`16hG
|
||||||
|
ZCA)JFQ9cEh9bBf8C-3:
|
||||||
|
|
41
Mac/scripts/EditPythonPrefsBH.bh
Normal file
41
Mac/scripts/EditPythonPrefsBH.bh
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
STR# 26733
|
||||||
|
DIALOG 511
|
||||||
|
1.1 Enter folders to include in sys.path. Use the arrow keys to navigate.
|
||||||
|
2.1 Press when done.
|
||||||
|
3.1 Press to leave settings as they are.
|
||||||
|
4.1 Select the folder that will replace $(PYTHON) in sys.path items.
|
||||||
|
7.1 Press to show a dialog that allows you to set options.
|
||||||
|
9.1 Press here to turn help balloons off again.
|
||||||
|
END-DIALOG
|
||||||
|
DIALOG 510
|
||||||
|
1.1 Turn this item on to get the standard >>> prompt after a script terminates.
|
||||||
|
1.3 Turn this item off to have the interpreter terminate when a script terminates.
|
||||||
|
2.1 Turn this option on to get feedback on where modules are found and what their type is.
|
||||||
|
2.3 Turn this option off to stop import feedback.
|
||||||
|
3.1 Turn this option on to strip LINO instructions from Python bytecode. Gives a slight speedup.
|
||||||
|
3.3 Turn this option off to include LINO instructions in the bytecode. This enables line numbers in traceback printouts.
|
||||||
|
4.1 Turn this on to show output byte-by-byte as it is produced. Slows things down.
|
||||||
|
4.3 Turn this off to show output on a line-by-line basis, or when input is requested.
|
||||||
|
5.1 Print gibberish only Guido understands.
|
||||||
|
5.3 Stop printing gibberish.
|
||||||
|
6.1 Turn this on to keep the console window open after successful script termination.
|
||||||
|
6.3 Turn this off to quit python automatically after successful script termination.
|
||||||
|
7.1 Turn this on to keep the console window open after a script aborts.
|
||||||
|
7.3 Turn this off to quit python automatically after a script aborts.
|
||||||
|
8.1 Turn this on to stop the user from asking for the startup option dialog with the option key. Use this on applets only.
|
||||||
|
8.3 Turn this off to enable the user to set options by depressing <option> while Python is starting up.
|
||||||
|
9.1 If you enable this Python will not try to build a unix-style sys.argv, leaving all AppleEvents for your script. Use this for applets only.
|
||||||
|
9.3 If you disable this Python will create a sys.argv consisting of the files dropped on the interpreter or applet.
|
||||||
|
10.1 Turn this on to refrain from showing the console window and menu bar until something is printed. Use this for applets only.
|
||||||
|
10.3 Turn this off to show the console window and menu bar immedeately upon startup.
|
||||||
|
11.1 The creator code Python will create files with. Select your favourite text editor.
|
||||||
|
12.1 The type code Python will create files with. TEXT is probably best.
|
||||||
|
13.1 Press here when satisfied with your new settings in this dialog.
|
||||||
|
14.1 Press here when you're not satisfied with your new settings.
|
||||||
|
19.1 Select to use string-type values for standard exceptions.
|
||||||
|
19.3 Deselect to use new class-based standard exceptions.
|
||||||
|
20.1 Selecting this disables the new package and site-python features.
|
||||||
|
20.3 Deselecting this enables the new package and site-python features.
|
||||||
|
22.1 Press here to turn help balloons off again.
|
||||||
|
END-DIALOG
|
||||||
|
END
|
95
Mac/scripts/EditPythonPrefsBH.prj.hqx
Normal file
95
Mac/scripts/EditPythonPrefsBH.prj.hqx
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
(This file must be converted with BinHex 4.0)
|
||||||
|
|
||||||
|
:&89NDA43HA4SEfj3FQ9QFd*),R"bDJ"069"b3eG*43%!!!!lcJ#3"&%cBfp[E!!
|
||||||
|
!!!)!!!!S!!!hX!!!0pJ!!!2f!!!!*`%!N!Y&C'Pd8(PdD'pZ8(*PCR0#5$T$GA0
|
||||||
|
dEfdJ5f9jGfpbC(-!4@4TG&"jG'K[EP"bC@Cc3NJk3@0MCA0c)&"KG'Kc!%9NDA4
|
||||||
|
3HA4SEfj3FQ9QFd*)1P4KFQGPG#"6CA4dD@jRF`"&C'Pd8(PdD'pZ8(*PCR0#5$T
|
||||||
|
'D@aP)%eKF("TEQGc!%9NDA43HA4SEfj3FQ9QFd*)1N*eD@aN)%9iG(*KF`"&C'P
|
||||||
|
d8(PdD'pZ8(*PCR0#5$Sf1%XJ3fpNC8GPEJ"&C'Pd8(PdD'pZ8(*PCR0#5$Sf1%X
|
||||||
|
J4'PcBA0cC@eLE'9b!%9NDA43HA4SEfj3FQ9QFd*)1MBi5b"-D@jVCA)!4@4TG&"
|
||||||
|
jG'K[EP"bC@Cc3NJk0MK,)&"bEfTPBh3!4@4TG&"jG'K[EP"bC@Cc3NJk3bp$+bX
|
||||||
|
J3fpYF'PXCA)!4@4TG&"jG'K[EP"bC@Cc3NJk3bp$+bXJ9f&bEQPZCh-!4@4TG&"
|
||||||
|
jG'K[EP"bC@Cc3NJk3dC00MK,!%9NDA43HA4SEfj3FQ9QFd*)1NP5)%p`G'PYDAT
|
||||||
|
PFJ"&C'Pd8(PdD'pZ8(*PCR0#5$T0B@028b"0CA*RC5"3B@jPE!"&C'Pd8(PdD'p
|
||||||
|
Z8(*PCR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