mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-09-07 12:56:23 +00:00
我真的不鸽
This commit is contained in:
@ -9,9 +9,8 @@
|
||||
文件结构
|
||||
--------
|
||||
|
||||
从主文件调用display.py以实现显示,调用functions.py以使用功能
|
||||
|
||||
functions.py中会调取./addon/目录下的全部功能文件,这些功能文件必须先由./addon/addons.pkl来预先定义好
|
||||
主文件存有多个显示函数,通过`./resources/config.json`来配置临时文件等选项
|
||||
通过`config.json`预制的`theme`项目所指引的文件来获得主题包、`language`项目来控制
|
||||
|
||||
详细说明
|
||||
--------
|
||||
@ -70,7 +69,10 @@ functions.py中会调取./addon/目录下的全部功能文件,这些功能文
|
||||
```python
|
||||
menuWidgets: dist = { # 菜单项目
|
||||
str"菜单名" : dict{
|
||||
str"选项名"|None : <function>选项函数
|
||||
str"选项名"|None : (
|
||||
<function>选项函数,
|
||||
str"选项说明",
|
||||
)
|
||||
},
|
||||
...
|
||||
}
|
||||
|
Reference in New Issue
Block a user