{"id":15663103,"url":"https://github.com/mvz/gir_ffi-gtk","last_synced_at":"2025-04-09T08:10:20.052Z","repository":{"id":4402181,"uuid":"5539412","full_name":"mvz/gir_ffi-gtk","owner":"mvz","description":"GirFFI-based bindings for Gtk+. Supports both Gtk+ 2 and Gtk+ 3","archived":false,"fork":false,"pushed_at":"2025-04-01T09:26:02.000Z","size":320,"stargazers_count":19,"open_issues_count":7,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T10:29:05.911Z","etag":null,"topics":["gnome","gobject-introspection","gtk","gtk3","hacktoberfest","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvz.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"COPYING.LIB","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":"2012-08-24T11:28:32.000Z","updated_at":"2025-04-01T09:26:04.000Z","dependencies_parsed_at":"2023-07-05T17:01:16.445Z","dependency_job_id":"095ef185-f472-410c-a4ce-0fcaa336b70c","html_url":"https://github.com/mvz/gir_ffi-gtk","commit_stats":{"total_commits":328,"total_committers":7,"mean_commits":"46.857142857142854","dds":"0.21036585365853655","last_synced_commit":"be6ac9d3c66f09439dae3fccf0aaf4be3ad63557"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvz%2Fgir_ffi-gtk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvz%2Fgir_ffi-gtk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvz%2Fgir_ffi-gtk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvz%2Fgir_ffi-gtk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvz","download_url":"https://codeload.github.com/mvz/gir_ffi-gtk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999861,"owners_count":21031046,"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":["gnome","gobject-introspection","gtk","gtk3","hacktoberfest","ruby"],"created_at":"2024-10-03T13:35:30.324Z","updated_at":"2025-04-09T08:10:20.035Z","avatar_url":"https://github.com/mvz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GirFFI-Gtk\n\nGirFFI-based Ruby bindings for Gtk+. Supports both Gtk+ 2 and Gtk+ 3.\n\n## Usage\n\nGtk+ 2:\n\n```ruby\nrequire 'gir_ffi-gtk2'\nGtk.init\nwin = Gtk::Window.new :toplevel\nwin.show\nGObject.signal_connect(win, \"destroy\") { Gtk.main_quit }\nGtk.main\n```\n\nGtk+ 3:\n\n```ruby\nrequire 'gir_ffi-gtk3'\nGtk.init\nwin = Gtk::Window.new :toplevel\nwin.show\nGObject.signal_connect(win, \"destroy\") { Gtk.main_quit }\nGtk.main\n```\n\nSee the `examples/` directory for more examples.\n\n## Install\n\n```bash\ngem install gir_ffi-gtk\n```\n\n## Requirements\n\nFirst, make sure the `ffi` gem is properly installed. See its documentation for\nthe necessary requirements.\n\nGirFFI-Gtk itself depends on the [GirFFI](https://rubygems.org/gems/gir_ffi)\ngem, and the gobject-introspection and gtk+ libaries.\n\nFor Debian-like systems, try the following for Gtk+ 3:\n\n```bash\napt-get install libgirepository1.0-dev gobject-introspection gir1.2-gtk-3.0\n```\n\nand for Gtk+ 2:\n\n```bash\napt-get install libgirepository1.0-dev gobject-introspection gir1.2-gtk-2.0\n```\n\nThis gem has not been tested on Mac OS X or Microsoft Windows. YMMV. Pull\nrequests to support these platforms are welcome.\n\n## License\n\nCopyright \u0026copy; 2012\u0026ndash;2022 [Matijs van Zuijlen](http://www.matijs.net)\n\nGirFFI-Gtk is free software, distributed under the terms of the GNU Lesser\nGeneral Public License, version 2.1 or later. See the file COPYING.LIB for\nmore information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvz%2Fgir_ffi-gtk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvz%2Fgir_ffi-gtk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvz%2Fgir_ffi-gtk/lists"}