Skip to content

Commit

Permalink
为readme增加内容
Browse files Browse the repository at this point in the history
  • Loading branch information
苍之幻灵 committed Apr 24, 2022
1 parent 062c198 commit 6ccc085
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ cc.select(cl=True)
jin = cc.joint()
```

创建UI

```python
import cpmel.cmds as cc
window_name = 'your_window_name'
if cc.window(window_name, ex=True):
cc.deleteUI(window_name)
cc.window(window_name)
with cc.flowLayout():
cc.button()
cc.button()
cc.button()
cc.showWindow()
```

### 版权说明

该项目签署了Apache-2.0 授权许可,详情请参阅 LICENSE

0 comments on commit 6ccc085

Please sign in to comment.