{"id":63113,"library":"gtk4-sys","title":"GTK4 FFI Bindings","description":"FFI bindings of GTK 4.","status":"active","version":"0.11.3","language":"rust","source_language":null,"source_url":"https://github.com/gtk-rs/gtk4-rs","tags":["gtk4","ffi","gui","bindings"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ngtk4-sys = \"0.11.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add gtk4-sys","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"GtkApplication","correct":"use gtk4_sys::GtkApplication;"}],"quickstart":{"code":"use gtk4_sys::GtkApplication;\n\nfn main() {\n    unsafe {\n        let app = gtk4_sys::gtk_application_new(\"com.example\", 0);\n        println!(\"GTK application created.\");\n    }\n}","lang":"rust","description":"Create a GTK4 application using raw FFI bindings."},"warnings":[{"fix":"Use safe wrappers like gtk4 crate instead; ensure gtk_init is called.","message":"Unsafe code; requires careful memory management and GTK initialization.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'4':8 'bind':3,5,12 'ffi':2,4,10 'gtk':7 'gtk4':1,9 'gui':11","created_at":"2026-06-17T16:39:55.734647+00:00","updated_at":"2026-06-17T16:39:55.734647+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://gtk-rs.org/gtk4-rs","github":"https://github.com/gtk-rs/gtk4-rs","docs":"https://docs.rs/gtk4-sys/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}