예제 #1
0
    def scan_all_windows():
        ret = []
        windows = PROBE.get_window_list()
        for window in windows:
            ret.append(window)

        return ret
예제 #2
0
파일: State.py 프로젝트: BurntSushi/pytyle1
 def scan_all_windows():
     ret = []
     windows = PROBE.get_window_list()
     for window in windows:
         ret.append(window) 
             
     return ret
예제 #3
0
    def scan_new_windows():
        ret = []
        windows = PROBE.get_window_list()
        for window in windows:
            if hex(window) not in State.get_windows():
                ret.append(window)

        return ret
예제 #4
0
파일: State.py 프로젝트: BurntSushi/pytyle1
 def scan_new_windows():
     ret = []
     windows = PROBE.get_window_list()
     for window in windows:
         if hex(window) not in State.get_windows():
             ret.append(window) 
             
     return ret