parameters: (self, event)
docstring: Handles the ``wx.EVT_MOTION`` event for :class:`LabelContainer`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_MOTION`` event for :class:`LabelContainer`.
docstring_tokens: Handles the wx . EVT_MOTION event for : class : LabelContainer .
function: def OnMouseMove(self, event):
          """
          Handles the ``wx.EVT_MOTION`` event for :class:`LabelContainer`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
          """
  
          if self.HasAGWFlag(INB_NO_RESIZE):
          
              ImageContainerBase.OnMouseMove(self, event)
              return
  
          # Remove old sash
          if not self._sashRect.IsEmpty():
              ArtManager.Get().DrawDragSash(self._sashRect)
  
          if event.LeftIsDown():
          
              if not self._sashRect.IsEmpty():
              
                  # Progress sash, and redraw it
                  clientRect = self.GetClientRect()
                  pt = self.ClientToScreen(wx.Point(event.GetX(), 0))
                  self._sashRect = wx.RectPS(pt, wx.Size(4, clientRect.height))
                  ArtManager.Get().DrawDragSash(self._sashRect)
              
              else:
              
                  # Sash is not being dragged
                  if self._oldCursor.Ok():
                      wx.SetCursor(self._oldCursor)
                      self._oldCursor = wx.NullCursor
                  
          else:
          
              if self.HasCapture():
                  self.ReleaseMouse()
  
              if self.PointOnSash(event.GetPosition()):
              
                  # Change cursor to EW cursor
                  self._oldCursor = self.GetCursor()
                  wx.SetCursor(wx.StockCursor(wx.CURSOR_SIZEWE))
              
              elif self._oldCursor.Ok():
              
                  wx.SetCursor(self._oldCursor)
                  self._oldCursor = wx.NullCursor
              
              self._sashRect = wx.Rect()
              ImageContainerBase.OnMouseMove(self, event)
function_tokens: def OnMouseMove ( self , event ) : if self . HasAGWFlag ( INB_NO_RESIZE ) : ImageContainerBase . OnMouseMove ( self , event ) return # Remove old sash if not self . _sashRect . IsEmpty ( ) : ArtManager . Get ( ) . DrawDragSash ( self . _sashRect ) if event . LeftIsDown ( ) : if not self . _sashRect . IsEmpty ( ) : # Progress sash, and redraw it clientRect = self . GetClientRect ( ) pt = self . ClientToScreen ( wx . Point ( event . GetX ( ) , 0 ) ) self . _sashRect = wx . RectPS ( pt , wx . Size ( 4 , clientRect . height ) ) ArtManager . Get ( ) . DrawDragSash ( self . _sashRect ) else : # Sash is not being dragged if self . _oldCursor . Ok ( ) : wx . SetCursor ( self . _oldCursor ) self . _oldCursor = wx . NullCursor else : if self . HasCapture ( ) : self . ReleaseMouse ( ) if self . PointOnSash ( event . GetPosition ( ) ) : # Change cursor to EW cursor self . _oldCursor = self . GetCursor ( ) wx . SetCursor ( wx . StockCursor ( wx . CURSOR_SIZEWE ) ) elif self . _oldCursor . Ok ( ) : wx . SetCursor ( self . _oldCursor ) self . _oldCursor = wx . NullCursor self . _sashRect = wx . Rect ( ) ImageContainerBase . OnMouseMove ( self , event )