Пример #1
0
    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)
Пример #2
0
    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)
Пример #3
0
 def on_mouse_release(self, x, y, button, modifiers):
     custom_button.check_mouse_release_for_buttons(x, y, self.button_list)
Пример #4
0
 def check_release_buttons(self):
     return bt.check_mouse_release_for_buttons(self.button_list)
Пример #5
0
 def on_mouse_release(self, x, y, button_, key_modifiers):
     button.check_mouse_release_for_buttons(x, y, self.button_list)