Skip to content

Commit

Permalink
image please work
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti committed Mar 21, 2024
1 parent 4d488db commit 7b8eff5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Binary file added appfiles/thunder.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7b8eff5

Please sign in to comment.