Skip to main content

A simple taskbar decoration library

Project description

stbdl (Simple Taskbar Decoration Library)

Run the following command to install stbdl:

pip install stbdl

No dependencies need to be installed.

stbdl supports Python 3.x on Windows

Latest Version Changes:

  1. Release 0.1.0 version

stbdl (Simple Taskbar Decoration Library)

Run the following command to install stbdl:

> pip install stbdl

No dependencies need to be installed.

stbdl supports Python 3.x on Windows 10+.

stbdl is a simple taskbar decoration library.

It mainly includes the following four functions:

def window(path: Optional[str] = None, mode: int = 3) -> None: ...
def expansion() -> None: ...
def taskbar_switcher() -> wintypes.HWND: ...
def border(hwnd: wintypes.HWND) -> None: ...

These functions are all under the stbdl.* namespace.

window function

The parameter path is the path to the background image, must be an absolute path. If no value is provided, it defaults to loading stbdl\white.png.
The parameter mode is the dynamic style, with the following meanings:

mode=0: Fade in/out
mode=1: Rotation
mode=2: Zoom
mode=3: Four-color cycle (red, green, blue, yellow)
mode=4: Color cycle

If no value is provided, it defaults to 3.

Also, the background window needs to be clicked on a blank area of the taskbar to bring the taskbar above it.

The window function returns no value.

Tip: Do not run the window function multiple times, as this will create multiple stbdl processes (but they can be terminated using taskkill /im stbdl.exe)

expansion function

Enables the stbdl taskbar extension. The actual effect depends on system support. It prioritizes the mica effect (requires Windows 11), then the acrylic effect (requires Windows 10), and finally the blur effect.

The expansion function takes no parameters and returns no value.

taskbar_switcher function

Gets the handle of the task switcher window (class name MSTaskListWClass). Returns None if not found.

The taskbar_switcher function takes no parameters.

border function

Used to add a border to a specified window. It takes the handle of the target window as a parameter.

The border function returns no value.

Example

import stbdl

stbdl.window()

stbdl.expansion()

h = stbdl.taskbar_switcher()

stbdl.border(h)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stbdl-0.5.0.tar.gz (68.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stbdl-0.5.0-py3-none-win_amd64.whl (68.1 kB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file stbdl-0.5.0.tar.gz.

File metadata

  • Download URL: stbdl-0.5.0.tar.gz
  • Upload date:
  • Size: 68.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for stbdl-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2911871f35ee85cb6e4ae735ee8c9c70de241675acba1b204c364e163e980db7
MD5 e4a5da1281fff0d991da1fa75b79ba02
BLAKE2b-256 c2a0df1f88fdc305d693e3b1ae5a8b55953993a55bbc6a97d667f4fa1bd79139

See more details on using hashes here.

File details

Details for the file stbdl-0.5.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: stbdl-0.5.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 68.1 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for stbdl-0.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bbea69d72434f1d4970665d18de7454f0216e74760f2812226413d8f2c7e1edd
MD5 74e1e3577bfb7cc01573434980c31e52
BLAKE2b-256 3c5e157f2cc27a08194c93242219dbdea0fe03b990862a6b5d2737f1791aa4db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page