Skip to content

Conversation

@vgarleanu
Copy link
Member

Adds a native macos menu-bar and hides the slint one. This potentially could be reused across windows and Linux. On linux this would add gtk3 as a dep.

@vgarleanu vgarleanu requested a review from IGI-111 May 31, 2024 17:46
@@ -1,5 +1,5 @@
[package]
name = "kira"
name = "Kira"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package names are lowercase

let menu_bar = Menu::new();

menu_bar.append_items(&[&app, &file]).unwrap();
menu_bar.init_for_nsapp();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need a gtk window for the linux version of this, but in general, this entire thing should not be in a platform specific module if we're going to use it for multiple platform, this isn't a darwin menu, it's just the menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants