I'm trying to display a window using Tkinter above (topmost) to the preview window displayed when running raspivid, but I'm unable to do so.
Python Code:
from Tkinter import *
root = Tk()
root.title("Test Topmost")
screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()
root.geometry("550x250+%d+%d" % (screen_width/2-275, screen_height/2-125))
root.configure(background='gold')
root.lift ()
mainloop()
I've tried this and a few different approaches to no success. Has someone managed to get it working?
Note: I do need to the preview window to be visible.