parameters: (self, pos)
docstring: Updates the docking guides images depending on the mouse position, using focused
          images if the mouse is inside the docking guide or unfocused images if it is
          outside.
  
          :param Point `pos`: the mouse position.
docstring_summary: Updates the docking guides images depending on the mouse position, using focused
          images if the mouse is inside the docking guide or unfocused images if it is
          outside.
docstring_tokens: Updates the docking guides images depending on the mouse position using focused images if the mouse is inside the docking guide or unfocused images if it is outside .
function: def UpdateDockGuide(self, pos):
          """
          Updates the docking guides images depending on the mouse position, using focused
          images if the mouse is inside the docking guide or unfocused images if it is
          outside.
  
          :param Point `pos`: the mouse position.
          """
  
          if not self._useAero:
              for target in self.GetChildren():
                  target.UpdateDockGuide(pos)
          else:
              lenRects = len(self._aeroRects)
              for indx, rect in enumerate(self._aeroRects):
                  if rect.Contains(pos):
                      if self._allAeroBmps[indx] != self._aeroBmp:
                          if indx < lenRects - 1 or (indx == lenRects - 1 and self._valid):
                              self._aeroBmp = self._allAeroBmps[indx]
                              self.Refresh()
                          else:
                              self._aeroBmp = self._allAeroBmps[-1]
                              self.Refresh()
  
                      return
  
              if self._aeroBmp != self._allAeroBmps[-1]:
                  self._aeroBmp = self._allAeroBmps[-1]
                  self.Refresh()
function_tokens: def UpdateDockGuide ( self , pos ) : if not self . _useAero : for target in self . GetChildren ( ) : target . UpdateDockGuide ( pos ) else : lenRects = len ( self . _aeroRects ) for indx , rect in enumerate ( self . _aeroRects ) : if rect . Contains ( pos ) : if self . _allAeroBmps [ indx ] != self . _aeroBmp : if indx < lenRects - 1 or ( indx == lenRects - 1 and self . _valid ) : self . _aeroBmp = self . _allAeroBmps [ indx ] self . Refresh ( ) else : self . _aeroBmp = self . _allAeroBmps [ - 1 ] self . Refresh ( ) return if self . _aeroBmp != self . _allAeroBmps [ - 1 ] : self . _aeroBmp = self . _allAeroBmps [ - 1 ] self . Refresh ( )