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

Function drag_button

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

Source from the content-addressed store, hash-verified

149#----------------------------------------------------------------------------
150
151def drag_button(label, width=0, enabled=True):
152 clicked = button(label, width=width, enabled=enabled)
153 dragging, dx, dy = drag_previous_control(enabled=enabled)
154 return clicked, dragging, dx, dy
155
156#----------------------------------------------------------------------------
157

Callers

nothing calls this directly

Calls 2

buttonFunction · 0.85
drag_previous_controlFunction · 0.85

Tested by

no test coverage detected