import tkinter as tk

root = tk.Tk()
root.geometry("800x600")

desktop = tk.Frame(root)
desktop.pack(fill="both", expand=True)

desktop_frame = tk.Frame(desktop, bg="gray")
desktop_frame.pack(fill="both", expand=True)

taskbar = tk.Frame(desktop, height=40, bg="blue")
taskbar.pack(side="bottom", fill="x")
taskbar.pack_propagate(False)

root.update_idletasks()
print("Root geometry:", root.winfo_geometry())
print("Desktop Frame:", desktop_frame.winfo_geometry())
print("Taskbar:", taskbar.winfo_geometry())
