Registry / other / gtk
library0.18.2rscratesunverified

UNMAINTAINED Rust bindings for the GTK+ 3 library; use gtk4 instead.

# Cargo.toml [dependencies] gtk = "0.18.2"
INSTALL
IMPORT
SIG · GTK
G
gtk
otherrustv0.18.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Application
use gtk::prelude::*;

Creates a basic GTK3 application window.

use gtk::prelude::*; use gtk::{Application, ApplicationWindow}; fn main() { let app = Application::builder() .application_id("com.example") .build(); app.connect_activate(|app| { let win = ApplicationWindow::builder() .application(app) .title("Hello, GTK!") .build(); win.show(); }); app.run(); }
Debug
Known issues
breakingThis crate is unmaintained; use gtk4 for active development.
fix
Switch to the `gtk4` crate and update your code accordingly.
affects: >=0.18.0
Upgrade
Version history
0.18.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
gtk — cargo add gtk · libregistry