MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / Control

Class Control

tools/python-3.11.9-amd64/Lib/msilib/__init__.py:419–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417 current_feature = self
418
419class Control:
420 def __init__(self, dlg, name):
421 self.dlg = dlg
422 self.name = name
423
424 def event(self, event, argument, condition = "1", ordering = None):
425 add_data(self.dlg.db, "ControlEvent",
426 [(self.dlg.name, self.name, event, argument,
427 condition, ordering)])
428
429 def mapping(self, event, attribute):
430 add_data(self.dlg.db, "EventMapping",
431 [(self.dlg.name, self.name, event, attribute)])
432
433 def condition(self, action, condition):
434 add_data(self.dlg.db, "ControlCondition",
435 [(self.dlg.name, self.name, action, condition)])
436
437class RadioButtonGroup(Control):
438 def __init__(self, dlg, name, property):

Callers 1

controlMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected