public ZxdgDecorationManagerV1(zxdg_decoration_manager_v1 *ptr) { Pointer = ptr; }
/// <summary> /// <p> /// Destroy the decoration manager. This doesn't destroy objects created /// with the manager. /// </p> /// </summary> public static void zxdg_decoration_manager_v1_destroy(zxdg_decoration_manager_v1 *pointer) { WaylandClient.wl_proxy_marshal((wl_proxy *)pointer, 0); }
/// <summary> /// <p> /// Create a new decoration object associated with the given toplevel. /// </p> /// <p> /// Creating an xdg_toplevel_decoration from an xdg_toplevel which has a /// buffer attached or committed is a client error, and any attempts by a /// client to attach or manipulate a buffer prior to the first /// xdg_toplevel_decoration.configure event must also be treated as /// errors. /// </p> /// </summary> public static zxdg_toplevel_decoration_v1 *zxdg_decoration_manager_v1_get_toplevel_decoration(zxdg_decoration_manager_v1 *pointer, xdg_toplevel *toplevel) { var args = stackalloc wl_argument[2]; args[0] = 0; args[1] = toplevel; var ptr = WaylandClient.wl_proxy_marshal_array_constructor((wl_proxy *)pointer, 1, args, zxdg_toplevel_decoration_v1.Interface); return((zxdg_toplevel_decoration_v1 *)ptr); }