parameters: (self, event)
docstring: Respond to mouse press event.
docstring_summary: Respond to mouse press event.
docstring_tokens: Respond to mouse press event .
function: def button_press_callback(self, event):
          """
          Respond to mouse press event.
          """
          if self.tool.toolbar_manager.is_tool_active():
              return
          self.state.button_press_callback(event)
function_tokens: def button_press_callback ( self , event ) : if self . tool . toolbar_manager . is_tool_active ( ) : return self . state . button_press_callback ( event )