Skip to content

A Windows sidebar that works standalone, but is best used with SegumiOS.

Notifications You must be signed in to change notification settings

sedoruee/Windows-Sidebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Windows-Sidebar

A Windows sidebar that works standalone, but is best used with SegumiOS.

Plugin Creation Guide

Goal: Embed a Tkinter application within the sidebar. Place plugin files in the plugins folder. Plugin Code Example (plugins/your_plugin_name.py):

import tkinter as tk
def run(sidebar, frame):
    app = tk.Frame(frame)
    app.pack(fill=tk.BOTH, expand=True)
    # Build your Tkinter application within 'app'
    # ...

Key Function:

  • run(sidebar, frame): The plugin's entry point. sidebar is the Sidebar object, and frame is the tk.Frame container.
  • Create a tk.Frame (e.g., app) inside frame to serve as the root of your application.
  • app.pack(fill=tk.BOTH, expand=True) ensures the application fills the available space.
  • All widgets should be added to app.

About

A Windows sidebar that works standalone, but is best used with SegumiOS.

Resources

Stars

Watchers

Forks

Packages

No packages published