pub fn init_for_window(window: &impl IsA<Window>)
Expand description

Set the window up to be a layer surface once it is mapped. this must be called before the window is realized.

window

A gtk::Window to be turned into a layer surface.