MCPcopy Create free account
hub / github.com/debuggyo/Exo / click_handler

Function click_handler

ignis/modules/settings/widgets.py:57–66  ·  view source on GitHub ↗
(_, v=value, btn=None)

Source from the content-addressed store, hash-verified

55 icon = None
56
57 def click_handler(_, v=value, btn=None):
58 if bar_id:
59 set_value(v, bar_id)
60 elif widget:
61 set_value(widget, v)
62 else:
63 set_value(v)
64 update_active()
65 if on_any_click:
66 on_any_click()
67
68 btn = Button.button(
69 label=label,

Callers

nothing calls this directly

Calls 1

update_activeFunction · 0.85

Tested by

no test coverage detected