aboutsummaryrefslogtreecommitdiff
path: root/src/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs
index 40729e99..a5f6e2c6 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -282,6 +282,12 @@ impl Window {
pub fn wait_events(&self) -> glutin::WaitEventsIterator {
self.glutin_window.wait_events()
}
+
+ /// Set the window title
+ #[inline]
+ pub fn set_title(&self, title: &str) {
+ self.glutin_window.set_title(title);
+ }
}
impl Proxy {