From c8821426b50a38eba47bd968a3d7ba6ef0f4b8c2 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Thu, 5 May 2022 07:20:08 -0400 Subject: [PATCH] Added keep on top since it's a clock.... perhaps a personal taste thing and maybe should be an option? Will ponder this for desktop widgets across the board.... hmmmm...... --- DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py b/DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py index 64498a1d..0b2f1fab 100644 --- a/DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py +++ b/DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py @@ -29,7 +29,7 @@ def main(): layout = [[sg.Image(blank, key=('-IMAGE-', i), p=0, subsample=subsample) for i in range(max_digits)]] - window = sg.Window('', layout, background_color='black', no_titlebar=True, grab_anywhere=True, right_click_menu=right_click_menu, location=location, enable_close_attempted_event=True, alpha_channel=alpha, metadata=subsample) + window = sg.Window('', layout, background_color='black', no_titlebar=True, grab_anywhere=True, right_click_menu=right_click_menu, location=location, keep_on_top=True, enable_close_attempted_event=True, alpha_channel=alpha, metadata=subsample) while True: event, values = window.read(timeout=300)