Checkbox()

Example

from mirmod.controls import Textbox

@wob.receiver("value", "input", control=Checkbox(checked=False))
def receive_input(self, i):
  if i.lower() == "true":
    self.value = True
  else:
    self.value = False

Parameters

NameTypeDescription
checkedboolTrue if the checkbox is checked, false otherwise.