{"id":20840921,"url":"https://github.com/littlewhitecloud/win32material","last_synced_at":"2026-03-16T12:34:48.420Z","repository":{"id":192350203,"uuid":"686561698","full_name":"littlewhitecloud/win32material","owner":"littlewhitecloud","description":"Apply some window effects to the Win32 Applications","archived":false,"fork":false,"pushed_at":"2025-01-10T14:58:11.000Z","size":306,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-20T21:54:22.456Z","etag":null,"topics":["acrylic","alt","c","cplusplus","effect","fluent","material","mica","microsoft","package","python","win32","window","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/littlewhitecloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-03T07:50:06.000Z","updated_at":"2025-01-10T14:56:41.000Z","dependencies_parsed_at":"2024-02-04T08:23:50.743Z","dependency_job_id":"31a8f0a5-f7e8-4388-9fc6-027c2e1029ea","html_url":"https://github.com/littlewhitecloud/win32material","commit_stats":null,"previous_names":["littlewhitecloud/win32material","littlewhitecloud/win32style"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlewhitecloud%2Fwin32material","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlewhitecloud%2Fwin32material/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlewhitecloud%2Fwin32material/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlewhitecloud%2Fwin32material/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/littlewhitecloud","download_url":"https://codeload.github.com/littlewhitecloud/win32material/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235516762,"owners_count":19002685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acrylic","alt","c","cplusplus","effect","fluent","material","mica","microsoft","package","python","win32","window","windows"],"created_at":"2024-11-18T01:18:15.938Z","updated_at":"2026-03-16T12:34:48.366Z","avatar_url":"https://github.com/littlewhitecloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# win32material\nApply some window effects like `mica` `micaalt` `acrylic` to the Win32 Applications.\nCan also change the window's titlebar color, border type and so on. (Windows 11 only)\n\n## Installation\n```console\npip install win32material --user\n```\n\n## Help\nHow to get the hwnd of the window?\n```python\nfrom ctypes import windll, c_char_p\nhwnd = windll.user32.FindWindowW(c_char_p(None), \"{Your window name}\")\n```\n\n## Gallery\n![image](https://github.com/littlewhitecloud/win32material/assets/71159641/ffcea60c-718a-4315-9069-c1e4abc3f4cd)\n![image](https://github.com/littlewhitecloud/win32material/assets/71159641/c9e522c5-d8c5-4563-a0e5-7fef39366a1d)\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/760b5195-354e-428c-9f48-781e7a4dc3ae)\n```python\nfrom win32material import ApplyMica, ApplyAcrylic\n\n# ApplyMica(hwnd, theme, micaalt)\n# ApplyAcrylic(hwnd, extend)\n```\n\n```python\nChangeTitlebarColor(hwnd, \"#111111\")\n```\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/bc179e80-fcb0-48e4-92f0-8ab9e465ef1e)\n\n```python\nChangeBorderColor(hwnd, \"#114514\")\n```\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/7c3b035d-4a40-4026-aa5f-fbaf27846e43)\n\n\n```python\nChangeTitleColor(hwnd, \"#745616\")\n```\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/f3521d0b-3483-4138-bcda-b2d742079385)\n\n```python\nSetBorderType(hwnd, BORDERTYPE.RECTANGULAR)\n```\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/2a609226-5021-47f5-a80e-0e9250701140)\n\n```python\nSetBorderType(hwnd, BORDERTYPE.ROUND)\n```\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/5648f581-3a92-4a3c-bd74-853d5f38677a)\n\n```python\nSetBorderType(hwnd, BORDERTYPE.SMALLROUND)\n```\n![image](https://github.com/littlewhitecloud/win32style/assets/71159641/f06c4917-757f-48c5-b411-ed243f8fdf1c)\n\n### Thanks\nGet the idea of applying mica from [https://github.com/marticliment/win32mica/](https://github.com/marticliment/win32mica/)\nAnd some other ideas from [https://github.com/Akascape/py-win-styles](https://github.com/Akascape/py-window-styles)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlewhitecloud%2Fwin32material","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittlewhitecloud%2Fwin32material","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlewhitecloud%2Fwin32material/lists"}