GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rigvedmaanas/CTkSlideView: A Slide View (Slideshow carousel) for customtkinter.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
CTkAnimator.py
CTkAnimator.py
 
 
CTkSlideView.py
CTkSlideView.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.py
main.py
 
 

Repository files navigation

CTkSlideView

A Slide View (Slideshow carousel) for customtkinter. This includes a smooth animation between the slides too 🤩


Example Video 👇

CTkSlideViewVideo.mp4

How to use it?

  1. Download the source code.
  2. Copy and Paste the CTkSlideView.py and CTkAnimator.py in the directory where your python program is present.
  3. import the CTkSlideView

An Example for the CTkSlideView

from customtkinter import *
from CTkSlideView import CTkSlideView

set_appearance_mode("dark")
set_default_color_theme("dark-blue")


root = CTk()
root.geometry("1800x900")
root.title("CTk SlideView")


slide_menu = CTkSlideView(root)
slide_menu.place(relx=0.5, rely=0.5, anchor=CENTER)


# slide_menu.create_tab() will return a frame where you can display anything.

# Some Example Slides
CTkLabel(slide_menu.create_tab(), text="Slide 1", font=("SF Display", 50)).place(relx=0.5, rely=0.5, anchor=CENTER)

CTkLabel(slide_menu.create_tab(), text="Slide 2", font=("SF Display", 50)).place(relx=0.5, rely=0.5, anchor=CENTER)

CTkLabel(slide_menu.create_tab(), text="Slide 3", font=("SF Display", 50)).place(relx=0.5, rely=0.5, anchor=CENTER)

CTkLabel(slide_menu.create_tab(), text="Slide 4", font=("SF Display", 50)).place(relx=0.5, rely=0.5, anchor=CENTER)

CTkLabel(slide_menu.create_tab(), text="Slide 5", font=("SF Display", 50)).place(relx=0.5, rely=0.5, anchor=CENTER)

root.mainloop()

Feel free to customize it 😃

About

A Slide View (Slideshow carousel) for customtkinter.

Topics

animationctkcustomtkintercustomtkinter-slideviewmodern-tkinterpython3tkintertkinter-ui

Resources

Readme
MIT license
Activity

Stars

7 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.