From 4634130aad361f3edd44c0f7594cf9497bc091bb Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 28 Aug 1996 13:53:07 +0000 Subject: Added setwatchcursor() and setarrowcursor() functions --- Mac/Lib/FrameWork.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index 8663d1f..9610b61 100644 --- a/Mac/Lib/FrameWork.py +++ b/Mac/Lib/FrameWork.py @@ -78,6 +78,16 @@ def windowbounds(width, height): next_window_x, next_window_y = next_window_x + 8, next_window_y + 20 # jvr return l, t, r, b +_watch = None +def setwatchcursor(): + global _watch + + if _watch == None: + _watch = GetCursor(4).data + SetCursor(_watch) + +def setarrowcursor(): + SetCursor(qd.arrow) class Application: -- cgit v0.12