diff --git a/appfiles/thunder.gif b/appfiles/thunder.gif new file mode 100644 index 0000000..395d56d Binary files /dev/null and b/appfiles/thunder.gif differ diff --git a/index.py b/index.py index 770e4c7..c7c7731 100644 --- a/index.py +++ b/index.py @@ -206,9 +206,22 @@ def libmenu_callback(choice): # Code to handle the "Apps Update" option pass -def cherry(): # i am running out of names , this function displays the app data finally - print("cherry cherry lady") +def cherry(): + # Create a new frame for displaying additional data + cherry_frame = ctk.CTkFrame(scrollable_frame, width=400, height=400, bg_color="white") + cherry_frame.pack(side=ctk.RIGHT, fill=ctk.BOTH, padx=10, pady=10) + + # Load the thunder.gif image + try: + image_path = "appfiles/thunder.gif" + thunder_image = Image.open(image_path) + thunder_ctk_image = ctk.CTkImage(light_image=thunder_image, dark_image=thunder_image) + thunder_label = ctk.CTkLabel(cherry_frame, image=thunder_ctk_image) + thunder_label.pack(expand=True) + except Exception as e: + print(f"Error loading thunder.gif: {e}") + # what to do when library app is clicked , makes virtual env if making for the first time def handle_app_click(app_id):