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

Method set_text

pydevd_attach_to_process/winappdbg/window.py:303–314  ·  view source on GitHub ↗

Set the window text (caption). @see: L{get_text} @type text: str @param text: New window text. @raise WindowsError: An error occured while processing this request.

(self, text)

Source from the content-addressed store, hash-verified

301 return None
302
303 def set_text(self, text):
304 """
305 Set the window text (caption).
306
307 @see: L{get_text}
308
309 @type text: str
310 @param text: New window text.
311
312 @raise WindowsError: An error occured while processing this request.
313 """
314 win32.SetWindowText(self.get_handle(), text)
315
316 def get_placement(self):
317 """

Callers

nothing calls this directly

Calls 1

get_handleMethod · 0.95

Tested by

no test coverage detected