1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
pub type ZwlrLayerSurfaceV1 = ffi::zwlr_layer_surface_v1;

/// ## `window`
/// A layer surface.
///
/// # Returns
///
/// The underlying layer surface Wayland object
#[doc(alias = "gtk_layer_get_zwlr_layer_surface_v1")]
#[doc(alias = "get_zwlr_layer_surface_v1")]
pub fn zwlr_layer_surface_v1(
    window: &impl glib::object::IsA<gtk::Window>,
) -> *mut ZwlrLayerSurfaceV1 {
    use glib::translate::ToGlibPtr;

    assert_initialized_main_thread!();
    unsafe { ffi::gtk_layer_get_zwlr_layer_surface_v1(window.as_ref().to_glib_none().0) }
}
*/