feat: scaffold Rust/GTK4 project

This commit is contained in:
2026-08-03 19:09:56 -04:00
parent 264e6490a0
commit d6492fe68a
3 changed files with 34 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
use gtk::prelude::*;
use gtk::{glib, Application, ApplicationWindow};
const APP_ID: &str = "dev.rootiest.IconColorTool";
fn main() -> glib::ExitCode {
let app = Application::builder().application_id(APP_ID).build();
app.connect_activate(|app| {
let window = ApplicationWindow::builder()
.application(app)
.title("Icon Color Tool")
.default_width(900)
.default_height(650)
.build();
window.present();
});
app.run()
}