parameters: (self, wid, event)
return_statement: return gtk.FALSE
docstring: Mouse button released.
docstring_summary: Mouse button released.
docstring_tokens: Mouse button released .
function: def OnButtonUp(self, wid, event):
          """Mouse button released."""
          m = self.get_pointer()
          ctrl, shift = self._GetCtrlShift(event)
          self._Iren.SetEventInformationFlipY(m[0], m[1], ctrl, shift,
                                              chr(0), 0, None)
          button = event.button
          if button == 3:
              self._Iren.RightButtonReleaseEvent()
              return gtk.TRUE
          elif button == 1:
              self._Iren.LeftButtonReleaseEvent()
              return gtk.TRUE
          elif button == 2:
              self._Iren.MiddleButtonReleaseEvent()
              return gtk.TRUE
  
          return gtk.FALSE
function_tokens: def OnButtonUp ( self , wid , event ) : m = self . get_pointer ( ) ctrl , shift = self . _GetCtrlShift ( event ) self . _Iren . SetEventInformationFlipY ( m [ 0 ] , m [ 1 ] , ctrl , shift , chr ( 0 ) , 0 , None ) button = event . button if button == 3 : self . _Iren . RightButtonReleaseEvent ( ) return gtk . TRUE elif button == 1 : self . _Iren . LeftButtonReleaseEvent ( ) return gtk . TRUE elif button == 2 : self . _Iren . MiddleButtonReleaseEvent ( ) return gtk . TRUE return gtk . FALSE