Function dummy_rustwlc::callback::view_destroyed [] [src]

pub fn view_destroyed(callback: extern fn(view: WlcView))

Callback invoked when a view is destroyed.

When a view is destroyed, it's a good idea to shift focus to some other view, i.e. the last one used.

Example

use rustwlc::WlcView;

extern fn view_destroyed(view: WlcView) {
    println!("Goodbye, {:?}", view);
}