chrome/updater/test/service/win/ui.py
def Process(self, handle):
      """Callback function when enumerating a window.

      Args:
        handle: HWND to the enumerated window.
      """
      text = win32gui.GetWindowText(handle).lower()
      text_to_search = self._text_to_search.lower()

      if text_to_search in text:
        self.result.append(handle)
Callback function when enumerating a window.

      Args:
        handle: HWND to the enumerated window.
      
Callback function when enumerating a window.
Callback function when enumerating a window .
def Process(self, handle):
      text = win32gui.GetWindowText(handle).lower()
      text_to_search = self._text_to_search.lower()
      if text_to_search in text:
        self.result.append(handle)
def Process ( self , handle ) : text = win32gui . GetWindowText ( handle ) . lower ( ) text_to_search = self . _text_to_search . lower ( ) if text_to_search in text : self . result . append ( handle )
Callback function when enumerating a window.
Callback function when enumerating a window .
"""Callback function when enumerating a window.

      Args:
        handle: HWND to the enumerated window.
      """
self
handle
HWND to the enumerated window.
HWND to the enumerated window .