예제 #1
0
 def _on_decr_db_div(self, event):
     self.parent[Y_PER_DIV_KEY] = max(
         DB_DIV_MIN, common.get_clean_decr(self.parent[Y_PER_DIV_KEY]))
예제 #2
0
 def _on_decr_dynamic_range(self, event):
     self.parent[DYNAMIC_RANGE_KEY] = max(
         MIN_DYNAMIC_RANGE,
         common.get_clean_decr(self.parent[DYNAMIC_RANGE_KEY]))
예제 #3
0
 def _on_decr_y_divs(self, event):
     self.parent[Y_PER_DIV_KEY] = common.get_clean_decr(
         self.parent[Y_PER_DIV_KEY])
예제 #4
0
	def _on_decr_y_divs(self, event):
		self.parent[Y_PER_DIV_KEY] = common.get_clean_decr(self.parent[Y_PER_DIV_KEY])
예제 #5
0
	def _on_decr_db_div(self, event):
		self.parent[Y_PER_DIV_KEY] = max(DB_DIV_MIN, common.get_clean_decr(self.parent[Y_PER_DIV_KEY]))
예제 #6
0
	def _on_decr_dynamic_range(self, event):
		self.parent[DYNAMIC_RANGE_KEY] = max(MIN_DYNAMIC_RANGE, common.get_clean_decr(self.parent[DYNAMIC_RANGE_KEY]))