(self, handle, unit, label, iconID, defaultValue, defaultRange, mainTooltip=None, secondaryTooltip=None, conditions=())
| 85 | class Input: |
| 86 | |
| 87 | def __init__(self, handle, unit, label, iconID, defaultValue, defaultRange, mainTooltip=None, secondaryTooltip=None, conditions=()): |
| 88 | self.handle = handle |
| 89 | self.unit = unit |
| 90 | self.label = label |
| 91 | self.iconID = iconID |
| 92 | self.defaultValue = defaultValue |
| 93 | self.defaultRange = defaultRange |
| 94 | self.mainTooltip = mainTooltip |
| 95 | self.secondaryTooltip = secondaryTooltip |
| 96 | # Format: ((x condition, y condition), (x condition, y condition), ...) |
| 97 | self.conditions = tuple(conditions) |
| 98 | |
| 99 | def __hash__(self): |
| 100 | return hash((self.handle, self.unit, self.label, self.iconID, self.defaultValue, self.defaultRange, self.mainTooltip, self.secondaryTooltip, self.conditions)) |
nothing calls this directly
no outgoing calls
no test coverage detected