current_window

Function current_window 

Source
pub fn current_window(pa: &Pass) -> &Window
Expand description

The current Window

You can iterate through all Handle<Buffer>s and Handle<dyn Widget> with Window::buffers and Window::handles respectively.

If you wish to access other Windows, you can use context::windows().get(pa, n) to get the nth Window. The current window number can be found with context::current_win_index