Skip to content

Using SystemTray.with_title on Ubuntu/Windows #6302

Answered by FabianLars
ekwoka asked this question in Q&A
Discussion options

You must be logged in to vote

Try #[cfg(target_os = "macos")]. for example:

#[cfg(target_os = "macos")]
app_handle.tray_handle().set_title(title).unwrap();

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ekwoka
Comment options

@ekwoka
Comment options

@FabianLars
Comment options

@ChaserZ98
Comment options

@FabianLars
Comment options

Answer selected by FabianLars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants