From 919b4622ea4c4fb0f0ec2032f1844346c27e3c60 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Wed, 30 Oct 2019 22:44:06 -0400 Subject: [PATCH] Addeed back in the code to change pointer to a hand --- DemoPrograms/Demo_Notification_Window_Fade_In_Out.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Notification_Window_Fade_In_Out.py b/DemoPrograms/Demo_Notification_Window_Fade_In_Out.py index 41ec1415..25aeaaa8 100644 --- a/DemoPrograms/Demo_Notification_Window_Fade_In_Out.py +++ b/DemoPrograms/Demo_Notification_Window_Fade_In_Out.py @@ -61,7 +61,8 @@ def display_notification(title, message, icon, display_duration_in_ms=DEFAULT_DI window["-GRAPH-"].draw_text(title, location=(64, 20), color=TEXT_COLOR, font=("Arial", 12, "bold"), text_location=sg.TEXT_LOCATION_TOP_LEFT) window["-GRAPH-"].draw_text(message, location=(64, 44), color=TEXT_COLOR, font=("Arial", 9), text_location=sg.TEXT_LOCATION_TOP_LEFT) - # window["-GRAPH-"].Widget.config(cursor="hand2") + # change the cursor into a "hand" when hovering over the window. This is a direct call into tkinter, going around PySimpleGUI + window["-GRAPH-"].Widget.config(cursor="hand2") if use_fade_in == True: for i in range(1, int(WINDOW_ALPHA * 100)): # fade in