From 955e1b7ba0300035d0a2f64847d4554dec1a2db4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 6 Mar 2008 22:45:11 +0000 Subject: PyAPI - Window.TestBreak() - True if the user pressed escape. --- source/blender/python/api2_2x/doc/Window.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/python/api2_2x/doc') diff --git a/source/blender/python/api2_2x/doc/Window.py b/source/blender/python/api2_2x/doc/Window.py index 7fceeb757de..1625e4d4082 100644 --- a/source/blender/python/api2_2x/doc/Window.py +++ b/source/blender/python/api2_2x/doc/Window.py @@ -434,6 +434,12 @@ def QHandle (winId): @param winId: the window id, see L{GetScreenInfo}. @note: see L{QAdd} for how to send events to a particular window. """ +def TestBreak (): + """ + Return true if the user has pressed escape + @rtype: bool + @return: a boolean from a test if the user pressed escape + """ def GetMouseCoords (): """ -- cgit v1.2.3