Lightweight native window customization for Python GUI applications.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
xx1mde 7d4a6debcf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Test dedicated Woodpecker runner
2026-09-17 14:53:54 +03:00
src/nativeframe/windows Rename project to nativeframe 2026-08-29 11:57:30 +03:00
.gitignore Initial commit 2026-08-28 19:01:48 +03:00
.woodpecker.yml Validate release tag version 2026-09-17 14:38:24 +03:00
pyproject.toml Bump version to 0.1.2 2026-09-17 14:41:24 +03:00
README.md Rename project to nativeframe 2026-08-29 11:57:30 +03:00

nativeframe

Lightweight native window customization for Python GUI applications.

nativeframe provides a small, framework-independent interface for controlling native window appearance and behavior using platform APIs.

It does not depend on a specific GUI framework — it operates directly on the native window created by the application.

Windows

The Windows backend uses WinAPI and DWM.

Features

  • Window opacity
  • Taskbar visibility
  • DWM rounded corners
  • Automatic native window detection
  • No GUI framework dependencies

Usage

from nativeframe.windows import WindowController

window = WindowController(
    opacity=220,
    taskbar=True,
    rounded=True
)

window.apply()

WindowController

WindowController(
    opacity=255,
    taskbar=True,
    rounded=False
)
  • opacity — window opacity in the 0..255 range.
  • taskbar — controls whether the window appears in the taskbar.
  • rounded — enables system window corner rounding.

apply() automatically finds the visible top-level window owned by the current process and applies the requested settings.

Tested frameworks

The Windows backend has been tested with:

  • Kivy / SDL2
  • PySide6 / Qt
  • Dear PyGui / GLFW
  • Toga / WinForms

No framework-specific integration is required.

Requirements

  • Python 3.10+
  • Windows 10 or later

Some DWM features, such as system rounded corners, require Windows 11.

Roadmap

Planned features include:

  • Always-on-top mode
  • Click-through windows
  • Additional DWM customization
  • Backdrop and blur effects
  • Linux support
  • macOS support

License

MIT