(label, width=0, enabled=True)
| 88 | #---------------------------------------------------------------------------- |
| 89 | |
| 90 | def button(label, width=0, enabled=True): |
| 91 | with grayed_out(not enabled): |
| 92 | clicked = imgui.button(label, width=width) |
| 93 | clicked = clicked and enabled |
| 94 | return clicked |
| 95 | |
| 96 | #---------------------------------------------------------------------------- |
| 97 |
no test coverage detected