Las*_*aty 4 python-idle python-3.5
有没有办法在Windows 10下更改python-3.5 IDLE的背景颜色?我已经尝试了谷歌和阅读文档,但我找不到答案。我不确定这是否有可能...
以下是步骤:
单击应用,然后单击确定
完毕!
对于文本窗口背景,请转到选项=> IDLE首选项=>突出显示选项卡。使用新名称将内置主题(两者相同)另存为自定义主题。将具有白色背景的每个元素的背景更改为所需的颜色。点击“应用”或“确定”。或者,将以下内容复制到<HOMEDIR>/.idlerc/config-highlight.cfg(可能已经存在或可能不存在)并更改#ffffff为所需的颜色。
[Custom Light]
normal-foreground= #000000
normal-background= #ffffff
keyword-foreground= #ff7700
keyword-background= #ffffff
builtin-foreground= #900090
builtin-background= #ffffff
comment-foreground= #dd0000
comment-background= #ffffff
string-foreground= #00aa00
string-background= #ffffff
definition-foreground= #0000ff
definition-background= #ffffff
hilite-foreground= #000000
hilite-background= gray
break-foreground= black
break-background= #ffff55
hit-foreground= #ffffff
hit-background= #000000
error-foreground= #000000
error-background= #ff7777
#cursor (only foreground can be set, restart IDLE)
cursor-foreground= black
#shell window
stdout-foreground= blue
stdout-background= #ffffff
stderr-foreground= red
stderr-background= #ffffff
console-foreground= #770000
console-background= #ffffff
Run Code Online (Sandbox Code Playgroud)
我们刚刚添加了一个深钴蓝色背景的“ IDLE黑暗”主题。为此,请保持#002240不变或更改为其他深色。
[Custom Dark]
comment-foreground = #dd0000
console-foreground = #ff4d4d
error-foreground = #FFFFFF
hilite-background = #7e7e7e
string-foreground = #02ff02
stderr-background = #002240
stderr-foreground = #ffb3b3
console-background = #002240
hit-background = #fbfbfb
string-background = #002240
normal-background = #002240
hilite-foreground = #FFFFFF
keyword-foreground = #ff8000
error-background = #c86464
keyword-background = #002240
builtin-background = #002240
break-background = #808000
builtin-foreground = #ff00ff
definition-foreground = #5e5eff
stdout-foreground = #c2d1fa
definition-background = #002240
normal-foreground = #FFFFFF
cursor-foreground = #ffffff
stdout-background = #002240
hit-foreground = #002240
comment-background = #002240
break-foreground = #FFFFFF
Run Code Online (Sandbox Code Playgroud)
我们正计划添加一种手段来立即更改所有正常背景。能够影响对话框将是以后的项目。