def on_mouse_release(self, x, y, button, key_modifiers): """ Called whenever the released the mouse :param: x (int): the x position of the mouse :param: y (int): the y position of the mouse :post: Checks to see if a button was release by doing check_mouse_release_for_buttons """ check_mouse_release_for_buttons(x, y, self.button_list)
def on_mouse_release(self, x, y, button, key_modifiers): """ Called when a user releases a mouse click and executes a function if they clicked a button :param: x (int): the x position of the mouse :param: y (int): the y position of the mouse :return: returns none. :post: Checks to see if a button was release by doing check_mouse_release_for_buttons """ check_mouse_release_for_buttons(x, y, self.button_list)
def on_mouse_release(self, x, y, button, modifiers): custom_button.check_mouse_release_for_buttons(x, y, self.button_list)
def check_release_buttons(self): return bt.check_mouse_release_for_buttons(self.button_list)
def on_mouse_release(self, x, y, button_, key_modifiers): button.check_mouse_release_for_buttons(x, y, self.button_list)