{"id":73359,"library":"gtk4-layer-shell","title":"gtk4-layer-shell","description":"Safe gir-generated wrapper for gtk4-layer-shell, enabling layer shell protocol support in GTK4.","status":"active","version":"0.8.0","language":"rust","source_language":null,"source_url":"https://github.com/pentamassiv/gtk4-layer-shell-gir","tags":["gtk4","wayland","layer-shell","gui"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ngtk4-layer-shell = \"0.8.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add gtk4-layer-shell","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"LayerShell","correct":"use gtk4_layer_shell::LayerShell;"}],"quickstart":{"code":"use gtk4_layer_shell::LayerShell;\nuse gtk4::prelude::*;\n\nfn main() {\n    gtk4::init().unwrap();\n    let window = gtk4::ApplicationWindow::new();\n    window.init_layer_shell();\n    window.set_layer(gtk4_layer_shell::Layer::Top);\n    window.show_all();\n    gtk4::main();\n}","lang":"rust","description":"Initialize a GTK4 window as a layer shell surface."},"warnings":[{"fix":"Ensure you are running under a compatible Wayland compositor (e.g., wlroots-based).","message":"Requires a Wayland compositor that supports the layer-shell protocol.","severity":"gotcha","affected_versions":">=0.8.0"}],"env_vars":null,"search_vec":"'enabl':15 'generat':8 'gir':7 'gir-gener':6 'gtk4':2,12,21,22 'gtk4-layer-shell':1,11 'gui':27 'layer':3,13,16,25 'layer-shel':24 'protocol':18 'safe':5 'shell':4,14,17,26 'support':19 'wayland':23 'wrapper':9","created_at":"2026-06-17T18:50:16.468161+00:00","updated_at":"2026-06-17T18:50:16.468161+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://github.com/pentamassiv/gtk4-layer-shell-gir","github":"https://github.com/pentamassiv/gtk4-layer-shell-gir","docs":"https://docs.rs/gtk4-layer-shell/","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}}