MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / get_text

Method get_text

pydevd_attach_to_process/winappdbg/window.py:292–301  ·  view source on GitHub ↗

@see: L{set_text} @rtype: str @return: Window text (caption) on success, C{None} on error.

(self)

Source from the content-addressed store, hash-verified

290 return win32.GetWindowLongPtr(self.get_handle(), win32.GWL_EXSTYLE)
291
292 def get_text(self):
293 """
294 @see: L{set_text}
295 @rtype: str
296 @return: Window text (caption) on success, C{None} on error.
297 """
298 try:
299 return win32.GetWindowText(self.get_handle())
300 except WindowsError:
301 return None
302
303 def set_text(self, text):
304 """

Callers

nothing calls this directly

Calls 1

get_handleMethod · 0.95

Tested by

no test coverage detected