-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add group UI wrapper #8
Conversation
2f439ea
to
f05c320
Compare
"make_checkbox_control", | ||
"make_radio_control", | ||
"make_editor_control", | ||
"ui_group", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
新增暴露make_*_control
系列接口 跟前面的 ui_*
的区别是什么?像commit.py
里仍用的ui_*
系列,新暴露的函数并没有在外使用,那么他们应该什么时候被用到?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
大概是这样使用:
(check_result, edit_result) = ui_group(
make_check_control(...),
make_editor_control(...)
)
make_checkbox_control用于生成复合UI规范的描述字符串。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把使用示例和效果截图补充到PR description里吧
e795d50
to
d2aaa48
Compare
Purpose: To support multiple control interactions in a single UI interaction.
Example usage: