Skip to content

[Question] Can PSG move the mouse in screens types other than Graph and canvas #6267

@kkelly3137

Description

@kkelly3137

Type of Issue (Enhancement, Error, Bug, Question)

Question


Environment

Operating System

Other version Buster 10

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)]

PySimpleGUI Version (sg.__version__)

4.60.4

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

8.6.8


Your Experience In Months or Years (optional)

Years Python programming experience
Years Programming experience overall
No Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal Demos.PySimpleGUI.org
  • If not tkinter - looked for Demo Programs for specific port
  • For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • Run your program outside of your debugger (from a command line)
  • Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

Before I use the pyautogui to do mouse movenments, is there a way in PSG to move the mouse in "regular" tkinter type windows? I get that canvas and graph type windows have this option-ish but those type of windows are not my application

My issue is when my users press a button the mouse cursor stays on the button leavig it in hover-over mode and or hightlighted. since my project has multiple screens the mouse pointer may layover other buttons highkighting them as the user moves from screen to screen. For a buttons on a touchscreen application this looks like shit.

two solutions in my head ATM. Move the mouse to a shared empty space that all windows would have or I guress change the "mouseover_colors" and "hightlight_colors" to none? or the screen BG colour?

Code To Duplicate

# Paste your code here

Screenshot, Sketch, or Drawing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Port - TKPySimpleGUIQuestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions