current_widget

Function current_widget 

Source
pub fn current_widget(pa: &Pass) -> &Handle<dyn Widget>
Expand description

Returns the current active Handle

Unlike current_buffer, this function will return a Handle<dyn Widget>, which means it could be any Widget, not just a Buffer.