{"id":15721889,"url":"https://github.com/seb0xff/gtk-native-tweaks","last_synced_at":"2026-02-12T05:04:29.239Z","repository":{"id":230477711,"uuid":"769329075","full_name":"seb0xff/gtk-native-tweaks","owner":"seb0xff","description":"Some GTK4 tweaks focusing native windows","archived":false,"fork":false,"pushed_at":"2024-12-23T09:42:17.000Z","size":1991,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T17:36:18.993Z","etag":null,"topics":["c-cpp","gtk-python","gtk4"],"latest_commit_sha":null,"homepage":"","language":"C++","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/seb0xff.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,"zenodo":null}},"created_at":"2024-03-08T20:24:37.000Z","updated_at":"2024-12-23T09:42:21.000Z","dependencies_parsed_at":"2024-03-30T01:36:42.492Z","dependency_job_id":"4beb8f65-e4fd-47a7-8e2a-2aa79aad2597","html_url":"https://github.com/seb0xff/gtk-native-tweaks","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.2857142857142857,"last_synced_commit":"434c279b70c033e15fe980d9af7e4da630ed24f1"},"previous_names":["sebastianpilarz/gtk-native-tweaks","seb0xff/gtk-native-tweaks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seb0xff/gtk-native-tweaks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-native-tweaks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-native-tweaks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-native-tweaks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-native-tweaks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seb0xff","download_url":"https://codeload.github.com/seb0xff/gtk-native-tweaks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-native-tweaks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29359360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c-cpp","gtk-python","gtk4"],"created_at":"2024-10-03T22:02:00.315Z","updated_at":"2026-02-12T05:04:29.222Z","avatar_url":"https://github.com/seb0xff.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gtk-native-tweaks\n\nBatch of tweaks to give more control over GTK4 applications\n![Alt Text](screenshot.png)\n\n**Note:** At the moment only macOS is supported.\n\n## Some features\n\n- change the titlebar color\n- change the window position\n- activate/deactivate titlebar buttons\n\n## Setup \u0026 build\n\n**Requirements:**\n\n- C++14 and C11 compilers\n- meson\n- gtk4\n- git\n\n**Build:**\nclone and cd into the directory\n\n```bash\nmeson setup build\ncd build\nmeson compile\n```\n\n#### Test\n\n**Make tests interactive:**\n\n```bash\ncd ..\nmeson configure build -Dinteractive_test=true\n```\n\n**Run**\n\n```bash\nmeson test --verbose\n```\n\n## Install\n\n```bash\nmeson install\n```\n\n## Uninstall\n\n```bash\nninja uninstall\n```\n\n## Usage\n\n#### Meson\n\n```meson\ngnt_dep = dependency('gnt-0.1')\ne = executable(\n...\ndependencies: [gnt_dep],\n...\n)\n```\n\n#### Cmake\n\n```cmake\nfind_package(PkgConfig REQUIRED)\npkg_search_module(gnt REQUIRED IMPORTED_TARGET gnt-0.1\u003e=0.1)\n\ntarget_link_libraries(... PkgConfig::gnt)\n```\n\n#### C/C++\n\n```c\n#include \u003cgnt/gnt.h\u003e\n...\ngtk_window_present(window) // window must be presented before, but it's fast so it's not a problem\nGntMacosWindow *gnt_macos_window_new(window);\n// here all the tweaks\n```\n\n**Note:** There are functions independent to the `GntMacosWindow` object, you can use them without creating an object.\n\n#### Python\n\nPython bindings are available and installed by default, there is an example in the `examples` directory.\n\n**Note:** At the moment there is no stubs generated, but the api is almost the same as the C api (just look at the header file).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseb0xff%2Fgtk-native-tweaks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseb0xff%2Fgtk-native-tweaks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseb0xff%2Fgtk-native-tweaks/lists"}