(self, name=None)
| 1005 | |
| 1006 | # get Patcher/FillRange options |
| 1007 | def get_opts(self, name=None): |
| 1008 | names = self.c_opt_chk.children_names |
| 1009 | val = self.c_opt_chk.value |
| 1010 | opts = {} |
| 1011 | for i in range(len(names)): |
| 1012 | opts[names[i]] = val & (2**i) |
| 1013 | |
| 1014 | if name != None: |
| 1015 | opts[name] = val |
| 1016 | |
| 1017 | return opts |
| 1018 | |
| 1019 | |
| 1020 | # Fill Range form |
no outgoing calls
no test coverage detected