mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Add Window::title getter on Windows and macOS
This commit is contained in:
@@ -347,6 +347,11 @@ impl Inner {
|
||||
warn!("`Window::theme` is ignored on iOS");
|
||||
None
|
||||
}
|
||||
|
||||
pub fn title(&self) -> String {
|
||||
warn!("`Window::title` is ignored on iOS");
|
||||
String::new()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Window {
|
||||
|
||||
Reference in New Issue
Block a user