MCPcopy Create free account
hub / github.com/Image-Py/imagepy / commit

Method commit

imagepy/ui/panelconfig.py:28–31  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

26 #self.handle = self.handle_
27
28 def commit(self, state):
29 self.Destroy()
30 if state=='ok' and self.on_ok:self.on_ok()
31 if state=='cancel' and self.on_cancel:self.on_cancel()
32
33 def add_confirm(self, modal=True):
34 # self.lst.AddStretchSpacer(1)

Callers 1

add_confirmMethod · 0.95

Calls 1

on_cancelMethod · 0.80

Tested by

no test coverage detected