# shaileshumbardand/python-tkinter-small-programs architecture

> Architecture diagram of the GitHub repository shaileshumbardand/python-tkinter-small-programs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shaileshumbardand/python-tkinter-small-programs
- Repository: https://github.com/shaileshumbardand/python-tkinter-small-programs

## Overview

This repository is a small collection of independent Tkinter window examples, not one application with a shared workflow. Each script creates and runs its own window, demonstrating window sizing, framing, exit controls, or image display/navigation. The image examples also use Pillow. The README gives only a general description, so the graph reflects the behavior visible in the sampled scripts; there is no supported shared runtime flow between them.

Main entry points: [`image-viewer.py`](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/image-viewer.py) (Image Viewer), [`show-image-in-window.py`](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/show-image-in-window.py) (Image Window), [`exit-window-using-button.py`](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/exit-window-using-button.py) (Exit Button), [`frame-example.py`](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/frame-example.py) (Frame Example)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_exit_demo["Exit Button"]
node_frame_demo["Frame Example<br/>[frame-example.py]"]
node_fullscreen_demo["Fullscreen Window"]
node_viewer_demo["Image Viewer<br/>[image-viewer.py]"]
node_resize_demo["Fixed Window"]
node_image_demo["Image Window"]
node_tkinter["Tkinter"]
node_pillow["Pillow"]

node_exit_demo -->|"builds window"| node_tkinter
node_frame_demo -->|"builds frame"| node_tkinter
node_fullscreen_demo -->|"builds window"| node_tkinter
node_viewer_demo -->|"builds viewer"| node_tkinter
node_viewer_demo -->|"loads images"| node_pillow
node_resize_demo -->|"builds window"| node_tkinter
node_image_demo -->|"builds window"| node_tkinter
node_image_demo -->|"loads image"| node_pillow

click node_exit_demo "https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/exit-window-using-button.py"
click node_frame_demo "https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/frame-example.py"
click node_fullscreen_demo "https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/fullscreen-window.py"
click node_viewer_demo "https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/image-viewer.py"
click node_resize_demo "https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/resize-window-disabled.py"
click node_image_demo "https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/show-image-in-window.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_exit_demo,node_frame_demo,node_resize_demo,node_image_demo toneTeal
class node_fullscreen_demo,node_viewer_demo toneBlue
class node_tkinter,node_pillow toneIndigo
```

## Components

### Other components

- [Exit Button](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/exit-window-using-button.py): `exit-window-using-button.py`
- [Frame Example](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/frame-example.py): `frame-example.py`
- [Fullscreen Window](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/fullscreen-window.py): `fullscreen-window.py`
- [Image Viewer](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/image-viewer.py): `image-viewer.py`
- [Fixed Window](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/resize-window-disabled.py): `resize-window-disabled.py`
- [Image Window](https://github.com/shaileshumbardand/python-tkinter-small-programs/blob/main/show-image-in-window.py): `show-image-in-window.py`
- **Tkinter**
- **Pillow**

## Connections

- Exit Button → Tkinter: builds window (evidence: `exit-window-using-button.py`)
- Frame Example → Tkinter: builds frame (evidence: `frame-example.py`)
- Fullscreen Window → Tkinter: builds window (evidence: `fullscreen-window.py`)
- Image Viewer → Tkinter: builds viewer (evidence: `image-viewer.py`)
- Image Viewer → Pillow: loads images (evidence: `image-viewer.py`)
- Fixed Window → Tkinter: builds window (evidence: `resize-window-disabled.py`)
- Image Window → Tkinter: builds window (evidence: `show-image-in-window.py`)
- Image Window → Pillow: loads image (evidence: `show-image-in-window.py`)
