@see: L{set_text} @rtype: str @return: Window text (caption) on success, C{None} on error.
(self)
| 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 | """ |
nothing calls this directly
no test coverage detected