initial support for app library
This commit is contained in:
parent
6ed9fdc9cd
commit
9273ea91e8
8 changed files with 154 additions and 171 deletions
|
|
@ -11,6 +11,7 @@ mod grid_item;
|
|||
mod group_grid;
|
||||
mod utils;
|
||||
mod window;
|
||||
mod window_inner;
|
||||
|
||||
fn main() {
|
||||
let app = gtk4::Application::new(Some("com.cosmic.app_library"), Default::default());
|
||||
|
|
@ -40,7 +41,9 @@ fn load_css() {
|
|||
|
||||
fn build_ui(app: >k4::Application) {
|
||||
// Create a new custom window and show it
|
||||
let window = AppLibraryWindow::new(app);
|
||||
let display = Display::default().unwrap();
|
||||
window::create(app, display.monitors().item(0).unwrap().downcast().unwrap());
|
||||
// let window = AppLibraryWindow::new(app);
|
||||
|
||||
window.show();
|
||||
// window.show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue