title: How to hide or disable the mouse pointer in Tkinter?
body: <p>I have a fullscreen Tkinter Python application which does not need the mouse -- a simplified version is below. It opens fullscreen and activates a text widget upon pressing <code>F1</code>.</p>
  
  <pre><code>import Tkinter as tk
  
  class App():
      def __init__(self):
          self.root = tk.Tk()
          self.root.attributes('-fullscreen', True)
          self.root.configure(background='red')
          self.root.bind('&lt;F1&gt;', self.opennote)
          self.root.bind('&lt;F2&gt;', self.closenote)
          self.root.bind('&lt;F3&gt;', self.quit)
          l = tk.Label(text="some text here")
          l.pack()
          self.root.mainloop()
  
      def opennote(self, event):
          self.n = tk.Text(self.root, background='blue')
          self.n.pack()
  
      def closenote(self, event):
          self.n.destroy()
  
      def quit(self, event):
          self.root.destroy()
  
  App()
  </code></pre>
  
  <p>When launched, the mouse pointer is not visible. It becomes visible, though, after initiating the Text widget, and then stays (changing shape between the text frame and the rest of the screen).</p>
  
  <p>I found several articles about how to hide a mouse cursor (by using <code>cursor=''</code> in parameters) but I did not find anything which would work for the mouse pointer across the widgets.</p>
  
  <p>Is it possible to completely hide (or disable) the mouse pointer in Tkinter?</p>
  
  <p>(<a href="https://stackoverflow.com/questions/16704032/how-can-i-set-the-mouse-position-in-a-tkinter-window">a question on how to set the mouse position</a> helped me to move this cursor away by issuing a <code>self.root.event_generate('&lt;Motion&gt;', warp=True, x=self.root.winfo_screenwidth(), y=self.root.winfo_screenheight())</code>. This is not a solution but at least the pointer does not jump in one's face from the middle of the screen)</p>