1use anyhow::Result; 2use clat_gui::Application; 3 4fn main() -> Result<()> { 5 // 创建应用程序实例 6 let mut app = Application::new()?; 7 8 // 创建窗口 9 app.create_window("Clat GUI", 800, 600)?; 10 11 // 运行应用程序 12 app.run() 13}