|
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `RequestsTrait` trait in crate `wayland_client`."><meta name="keywords" content="rust, rustlang, rust-lang, RequestsTrait"><title>wayland_client::protocol::wl_shell_surface::RequestsTrait - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../../wayland_client/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait RequestsTrait</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod._move">_move</a><a href="#tymethod.pong">pong</a><a href="#tymethod.resize">resize</a><a href="#tymethod.set_class">set_class</a><a href="#tymethod.set_fullscreen">set_fullscreen</a><a href="#tymethod.set_maximized">set_maximized</a><a href="#tymethod.set_popup">set_popup</a><a href="#tymethod.set_title">set_title</a><a href="#tymethod.set_toplevel">set_toplevel</a><a href="#tymethod.set_transient">set_transient</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../index.html'>wayland_client</a>::<wbr><a href='../index.html'>protocol</a>::<wbr><a href='index.html'>wl_shell_surface</a></p><script>window.sidebarCurrent = {name: 'RequestsTrait', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../index.html'>wayland_client</a>::<wbr><a href='../index.html'>protocol</a>::<wbr><a href='index.html'>wl_shell_surface</a>::<wbr><a class="trait" href=''>RequestsTrait</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait RequestsTrait {
|
|
|
fn <a href='#tymethod.pong' class='fnname'>pong</a>(&self, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod._move' class='fnname'>_move</a>(&self, seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.resize' class='fnname'>resize</a>(&self, seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, edges: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Resize.html" title="struct wayland_client::protocol::wl_shell_surface::Resize">Resize</a>);
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_toplevel' class='fnname'>set_toplevel</a>(&self);
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_transient' class='fnname'>set_transient</a>(<br> &self, <br> parent: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_surface/struct.WlSurface.html" title="struct wayland_client::protocol::wl_surface::WlSurface">WlSurface</a>>, <br> x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> flags: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Transient.html" title="struct wayland_client::protocol::wl_shell_surface::Transient">Transient</a><br> );
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_fullscreen' class='fnname'>set_fullscreen</a>(<br> &self, <br> method: <a class="enum" href="../../../wayland_client/protocol/wl_shell_surface/enum.FullscreenMethod.html" title="enum wayland_client::protocol::wl_shell_surface::FullscreenMethod">FullscreenMethod</a>, <br> framerate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> output: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_output/struct.WlOutput.html" title="struct wayland_client::protocol::wl_output::WlOutput">WlOutput</a>>><br> );
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_popup' class='fnname'>set_popup</a>(<br> &self, <br> seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, <br> serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> parent: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_surface/struct.WlSurface.html" title="struct wayland_client::protocol::wl_surface::WlSurface">WlSurface</a>>, <br> x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> flags: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Transient.html" title="struct wayland_client::protocol::wl_shell_surface::Transient">Transient</a><br> );
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_maximized' class='fnname'>set_maximized</a>(&self, output: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_output/struct.WlOutput.html" title="struct wayland_client::protocol::wl_output::WlOutput">WlOutput</a>>>);
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_title' class='fnname'>set_title</a>(&self, title: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>);
|
|
|
<div class='item-spacer'></div> fn <a href='#tymethod.set_class' class='fnname'>set_class</a>(&self, class_: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>);
|
|
|
}</pre></div>
|
|
|
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.pong' class='method'><code id='pong.v'>fn <a href='#tymethod.pong' class='fnname'>pong</a>(&self, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></h3><div class='docblock'><p>respond to a ping event</p>
|
|
|
<p>A client must respond to a ping event with a pong request or
|
|
|
the client may be deemed unresponsive.</p>
|
|
|
</div><h3 id='tymethod._move' class='method'><code id='_move.v'>fn <a href='#tymethod._move' class='fnname'>_move</a>(&self, seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></h3><div class='docblock'><p>start an interactive move</p>
|
|
|
<p>Start a pointer-driven move of the surface.</p>
|
|
|
<p>This request must be used in response to a button press event.
|
|
|
The server may ignore move requests depending on the state of
|
|
|
the surface (e.g. fullscreen or maximized).</p>
|
|
|
</div><h3 id='tymethod.resize' class='method'><code id='resize.v'>fn <a href='#tymethod.resize' class='fnname'>resize</a>(&self, seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, edges: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Resize.html" title="struct wayland_client::protocol::wl_shell_surface::Resize">Resize</a>)</code></h3><div class='docblock'><p>start an interactive resize</p>
|
|
|
<p>Start a pointer-driven resizing of the surface.</p>
|
|
|
<p>This request must be used in response to a button press event.
|
|
|
The server may ignore resize requests depending on the state of
|
|
|
the surface (e.g. fullscreen or maximized).</p>
|
|
|
</div><h3 id='tymethod.set_toplevel' class='method'><code id='set_toplevel.v'>fn <a href='#tymethod.set_toplevel' class='fnname'>set_toplevel</a>(&self)</code></h3><div class='docblock'><p>make the surface a toplevel surface</p>
|
|
|
<p>Map the surface as a toplevel surface.</p>
|
|
|
<p>A toplevel surface is not fullscreen, maximized or transient.</p>
|
|
|
</div><h3 id='tymethod.set_transient' class='method'><code id='set_transient.v'>fn <a href='#tymethod.set_transient' class='fnname'>set_transient</a>(<br> &self, <br> parent: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_surface/struct.WlSurface.html" title="struct wayland_client::protocol::wl_surface::WlSurface">WlSurface</a>>, <br> x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> flags: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Transient.html" title="struct wayland_client::protocol::wl_shell_surface::Transient">Transient</a><br>)</code></h3><div class='docblock'><p>make the surface a transient surface</p>
|
|
|
<p>Map the surface relative to an existing surface.</p>
|
|
|
<p>The x and y arguments specify the location of the upper left
|
|
|
corner of the surface relative to the upper left corner of the
|
|
|
parent surface, in surface-local coordinates.</p>
|
|
|
<p>The flags argument controls details of the transient behaviour.</p>
|
|
|
</div><h3 id='tymethod.set_fullscreen' class='method'><code id='set_fullscreen.v'>fn <a href='#tymethod.set_fullscreen' class='fnname'>set_fullscreen</a>(<br> &self, <br> method: <a class="enum" href="../../../wayland_client/protocol/wl_shell_surface/enum.FullscreenMethod.html" title="enum wayland_client::protocol::wl_shell_surface::FullscreenMethod">FullscreenMethod</a>, <br> framerate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> output: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_output/struct.WlOutput.html" title="struct wayland_client::protocol::wl_output::WlOutput">WlOutput</a>>><br>)</code></h3><div class='docblock'><p>make the surface a fullscreen surface</p>
|
|
|
<p>Map the surface as a fullscreen surface.</p>
|
|
|
<p>If an output parameter is given then the surface will be made
|
|
|
fullscreen on that output. If the client does not specify the
|
|
|
output then the compositor will apply its policy - usually
|
|
|
choosing the output on which the surface has the biggest surface
|
|
|
area.</p>
|
|
|
<p>The client may specify a method to resolve a size conflict
|
|
|
between the output size and the surface size - this is provided
|
|
|
through the method parameter.</p>
|
|
|
<p>The framerate parameter is used only when the method is set
|
|
|
to "driver", to indicate the preferred framerate. A value of 0
|
|
|
indicates that the client does not care about framerate. The
|
|
|
framerate is specified in mHz, that is framerate of 60000 is 60Hz.</p>
|
|
|
<p>A method of "scale" or "driver" implies a scaling operation of
|
|
|
the surface, either via a direct scaling operation or a change of
|
|
|
the output mode. This will override any kind of output scaling, so
|
|
|
that mapping a surface with a buffer size equal to the mode can
|
|
|
fill the screen independent of buffer_scale.</p>
|
|
|
<p>A method of "fill" means we don't scale up the buffer, however
|
|
|
any output scale is applied. This means that you may run into
|
|
|
an edge case where the application maps a buffer with the same
|
|
|
size of the output mode but buffer_scale 1 (thus making a
|
|
|
surface larger than the output). In this case it is allowed to
|
|
|
downscale the results to fit the screen.</p>
|
|
|
<p>The compositor must reply to this request with a configure event
|
|
|
with the dimensions for the output on which the surface will
|
|
|
be made fullscreen.</p>
|
|
|
</div><h3 id='tymethod.set_popup' class='method'><code id='set_popup.v'>fn <a href='#tymethod.set_popup' class='fnname'>set_popup</a>(<br> &self, <br> seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, <br> serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> parent: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_surface/struct.WlSurface.html" title="struct wayland_client::protocol::wl_surface::WlSurface">WlSurface</a>>, <br> x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> flags: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Transient.html" title="struct wayland_client::protocol::wl_shell_surface::Transient">Transient</a><br>)</code></h3><div class='docblock'><p>make the surface a popup surface</p>
|
|
|
<p>Map the surface as a popup.</p>
|
|
|
<p>A popup surface is a transient surface with an added pointer
|
|
|
grab.</p>
|
|
|
<p>An existing implicit grab will be changed to owner-events mode,
|
|
|
and the popup grab will continue after the implicit grab ends
|
|
|
(i.e. releasing the mouse button does not cause the popup to
|
|
|
be unmapped).</p>
|
|
|
<p>The popup grab continues until the window is destroyed or a
|
|
|
mouse button is pressed in any other client's window. A click
|
|
|
in any of the client's surfaces is reported as normal, however,
|
|
|
clicks in other clients' surfaces will be discarded and trigger
|
|
|
the callback.</p>
|
|
|
<p>The x and y arguments specify the location of the upper left
|
|
|
corner of the surface relative to the upper left corner of the
|
|
|
parent surface, in surface-local coordinates.</p>
|
|
|
</div><h3 id='tymethod.set_maximized' class='method'><code id='set_maximized.v'>fn <a href='#tymethod.set_maximized' class='fnname'>set_maximized</a>(&self, output: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_output/struct.WlOutput.html" title="struct wayland_client::protocol::wl_output::WlOutput">WlOutput</a>>>)</code></h3><div class='docblock'><p>make the surface a maximized surface</p>
|
|
|
<p>Map the surface as a maximized surface.</p>
|
|
|
<p>If an output parameter is given then the surface will be
|
|
|
maximized on that output. If the client does not specify the
|
|
|
output then the compositor will apply its policy - usually
|
|
|
choosing the output on which the surface has the biggest surface
|
|
|
area.</p>
|
|
|
<p>The compositor will reply with a configure event telling
|
|
|
the expected new surface size. The operation is completed
|
|
|
on the next buffer attach to this surface.</p>
|
|
|
<p>A maximized surface typically fills the entire output it is
|
|
|
bound to, except for desktop elements such as panels. This is
|
|
|
the main difference between a maximized shell surface and a
|
|
|
fullscreen shell surface.</p>
|
|
|
<p>The details depend on the compositor implementation.</p>
|
|
|
</div><h3 id='tymethod.set_title' class='method'><code id='set_title.v'>fn <a href='#tymethod.set_title' class='fnname'>set_title</a>(&self, title: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></h3><div class='docblock'><p>set surface title</p>
|
|
|
<p>Set a short title for the surface.</p>
|
|
|
<p>This string may be used to identify the surface in a task bar,
|
|
|
window list, or other user interface elements provided by the
|
|
|
compositor.</p>
|
|
|
<p>The string must be encoded in UTF-8.</p>
|
|
|
</div><h3 id='tymethod.set_class' class='method'><code id='set_class.v'>fn <a href='#tymethod.set_class' class='fnname'>set_class</a>(&self, class_: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></h3><div class='docblock'><p>set surface class</p>
|
|
|
<p>Set a class for the surface.</p>
|
|
|
<p>The surface class identifies the general class of applications
|
|
|
to which the surface belongs. A common convention is to use the
|
|
|
file name (or the full path if it is a non-standard location) of
|
|
|
the application's .desktop file as the class.</p>
|
|
|
</div></div><span class='loading-content'>Loading content...</span>
|
|
|
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-RequestsTrait' class='impl'><code class='in-band'>impl RequestsTrait for <a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.WlShellSurface.html" title="struct wayland_client::protocol::wl_shell_surface::WlShellSurface">WlShellSurface</a>></code><a href='#impl-RequestsTrait' class='anchor'></a><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.pong' class="method hidden"><code id='pong.v-1'>fn <a href='#method.pong' class='fnname'>pong</a>(&self, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method._move' class="method hidden"><code id='_move.v-1'>fn <a href='#method._move' class='fnname'>_move</a>(&self, seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.resize' class="method hidden"><code id='resize.v-1'>fn <a href='#method.resize' class='fnname'>resize</a>(&self, seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, edges: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Resize.html" title="struct wayland_client::protocol::wl_shell_surface::Resize">Resize</a>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_toplevel' class="method hidden"><code id='set_toplevel.v-1'>fn <a href='#method.set_toplevel' class='fnname'>set_toplevel</a>(&self)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_transient' class="method hidden"><code id='set_transient.v-1'>fn <a href='#method.set_transient' class='fnname'>set_transient</a>(<br> &self, <br> parent: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_surface/struct.WlSurface.html" title="struct wayland_client::protocol::wl_surface::WlSurface">WlSurface</a>>, <br> x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> flags: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Transient.html" title="struct wayland_client::protocol::wl_shell_surface::Transient">Transient</a><br>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_fullscreen' class="method hidden"><code id='set_fullscreen.v-1'>fn <a href='#method.set_fullscreen' class='fnname'>set_fullscreen</a>(<br> &self, <br> method: <a class="enum" href="../../../wayland_client/protocol/wl_shell_surface/enum.FullscreenMethod.html" title="enum wayland_client::protocol::wl_shell_surface::FullscreenMethod">FullscreenMethod</a>, <br> framerate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> output: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_output/struct.WlOutput.html" title="struct wayland_client::protocol::wl_output::WlOutput">WlOutput</a>>><br>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_popup' class="method hidden"><code id='set_popup.v-1'>fn <a href='#method.set_popup' class='fnname'>set_popup</a>(<br> &self, <br> seat: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_seat/struct.WlSeat.html" title="struct wayland_client::protocol::wl_seat::WlSeat">WlSeat</a>>, <br> serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> parent: &<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_surface/struct.WlSurface.html" title="struct wayland_client::protocol::wl_surface::WlSurface">WlSurface</a>>, <br> x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> flags: <a class="struct" href="../../../wayland_client/protocol/wl_shell_surface/struct.Transient.html" title="struct wayland_client::protocol::wl_shell_surface::Transient">Transient</a><br>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_maximized' class="method hidden"><code id='set_maximized.v-1'>fn <a href='#method.set_maximized' class='fnname'>set_maximized</a>(&self, output: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../../wayland_client/struct.Proxy.html" title="struct wayland_client::Proxy">Proxy</a><<a class="struct" href="../../../wayland_client/protocol/wl_output/struct.WlOutput.html" title="struct wayland_client::protocol::wl_output::WlOutput">WlOutput</a>>>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_title' class="method hidden"><code id='set_title.v-1'>fn <a href='#method.set_title' class='fnname'>set_title</a>(&self, title: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4><h4 id='method.set_class' class="method hidden"><code id='set_class.v-1'>fn <a href='#method.set_class' class='fnname'>set_class</a>(&self, class_: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code><a class='srclink' href='../../../src/wayland_client/home/mrh/source/Trac3r-rust/target/debug/build/wayland-client-893466244f089367/out/wayland_c_api.rs.html#1' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
|
|
|
src="../../../implementors/wayland_client/protocol/wl_shell_surface/trait.RequestsTrait.js">
|
|
|
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "wayland_client";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> |