MCPcopy Create free account
hub / github.com/XingangPan/DragGAN / button

Function button

gui_utils/imgui_utils.py:90–94  ·  view source on GitHub ↗
(label, width=0, enabled=True)

Source from the content-addressed store, hash-verified

88#----------------------------------------------------------------------------
89
90def 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

Callers 2

popup_buttonFunction · 0.85
drag_buttonFunction · 0.85

Calls 1

grayed_outFunction · 0.85

Tested by

no test coverage detected