@rtype: int @return: Global ID of the thread that owns this window.
(self)
| 167 | return self.dwProcessId |
| 168 | |
| 169 | def get_tid(self): |
| 170 | """ |
| 171 | @rtype: int |
| 172 | @return: Global ID of the thread that owns this window. |
| 173 | """ |
| 174 | if self.dwThreadId is not None: |
| 175 | return self.dwThreadId |
| 176 | self.__get_pid_and_tid() |
| 177 | return self.dwThreadId |
| 178 | |
| 179 | def __get_pid_and_tid(self): |
| 180 | "Internally used by get_pid() and get_tid()." |
no test coverage detected