{"id":15721904,"url":"https://github.com/seb0xff/gtk-grid-board","last_synced_at":"2026-01-24T03:08:05.904Z","repository":{"id":230477690,"uuid":"779007385","full_name":"seb0xff/gtk-grid-board","owner":"seb0xff","description":"Simple grid board implementation for gtk4","archived":false,"fork":false,"pushed_at":"2024-12-23T12:04:14.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T01:10:00.355Z","etag":null,"topics":["gtk4","gtk4-python3"],"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}},"created_at":"2024-03-28T21:09:40.000Z","updated_at":"2024-12-23T12:04:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3002ef4-0cce-4ea9-88e7-2df604d288e7","html_url":"https://github.com/seb0xff/gtk-grid-board","commit_stats":null,"previous_names":["sebastianpilarz/gtk-grid-board","seb0xff/gtk-grid-board"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-grid-board","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-grid-board/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-grid-board/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb0xff%2Fgtk-grid-board/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seb0xff","download_url":"https://codeload.github.com/seb0xff/gtk-grid-board/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804825,"owners_count":21164135,"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":["gtk4","gtk4-python3"],"created_at":"2024-10-03T22:02:04.411Z","updated_at":"2026-01-24T03:08:00.885Z","avatar_url":"https://github.com/seb0xff.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gtk-grid-board\n\nSimple grid board widget for gtk4.\nSome things that can be customized:\n\n- number of rows and columns (of course)\n- cell radius\n- cell spacing (between cells)\n- colors (cell, grid, background)\n- turn on/off guide lines (and accent lines)\n\n**CSS**\n.grid-board\n#guidelines\n#cells\n\n![Alt Text](screenshot.png)\n![Alt Text](screenshot2.png)\n\n## Requirements\n\n- C11 compiler\n- meson\n- gtk4\n- git\n\n## Build\n\nclone and cd into the directory\n\n```bash\nmeson setup build\ncd build\nmeson compile\n```\n\n#### Test\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++**\nIt's used like any other gtk widget, just include the header (ggb.h) and create an instance of the widget (GgbGrid). You can take a look at the test file in the root directory.\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-grid-board","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseb0xff%2Fgtk-grid-board","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseb0xff%2Fgtk-grid-board/lists"}