chore: Sync with Relm4 new-approach branch
This commit is contained in:
parent
c25812a45b
commit
3e4a00a8d8
12 changed files with 123 additions and 463 deletions
|
|
@ -6,12 +6,12 @@ extern crate cosmic_component_system as ccs;
|
|||
mod components;
|
||||
|
||||
use self::components::App;
|
||||
use ccs::{AppRunner, Component};
|
||||
use ccs::*;
|
||||
|
||||
fn main() {
|
||||
gtk4::builders::ApplicationBuilder::new()
|
||||
gtk::builders::ApplicationBuilder::new()
|
||||
.application_id("org.pop.CosmicComponentExample")
|
||||
.cosmic_run(|app| {
|
||||
App::init(app);
|
||||
.launch(|_app, window| {
|
||||
App::init().launch_stateful(window);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue