Implement keyboard and blur/focus events

This commit is contained in:
Héctor Ramón Jiménez 2019-06-25 21:01:13 +02:00
parent d5368d7979
commit 8ad078b964
7 changed files with 303 additions and 74 deletions

View file

@ -57,7 +57,7 @@ impl Window {
}
pub fn set_title(&self, title: &str) {
backend::Document::set_title(title);
self.canvas.set_attribute("alt", title);
}
pub fn set_visible(&self, _visible: bool) {