tuikit/core/window.py
changeset 112 ce2e67e7bbb8
parent 111 b055add74b18
child 113 6796adfdc7eb
--- a/tuikit/core/window.py	Wed Sep 03 19:14:43 2014 +0200
+++ b/tuikit/core/window.py	Wed Sep 03 19:17:04 2014 +0200
@@ -86,3 +86,6 @@
             node = node.focus_widget
         return node
 
+    def get_cursor_if_visible(self):
+        if self.cursor_visible:
+            return self.cursor