Implement the transition API

This commit is contained in:
Pierre Krieger 2017-01-28 15:05:36 +01:00
parent 2c4db6b16e
commit e7d43174e7
3 changed files with 20 additions and 3 deletions

View file

@ -318,6 +318,11 @@ impl Window {
pub fn set_cursor_state(&self, state: CursorState) -> Result<(), String> {
self.window.set_cursor_state(state)
}
#[inline]
pub fn id(&self) -> usize {
self.window.id()
}
}
/// Represents a thread safe subset of operations that can be called