pnmixer-rust/gdk/struct.WindowAttr.html
2017-07-15 01:30:16 +02:00

172 lines
16 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 `WindowAttr` struct in crate `gdk`.">
<meta name="keywords" content="rust, rustlang, rust-lang, WindowAttr">
<title>gdk::WindowAttr - Rust</title>
<link rel="stylesheet" type="text/css" href="../normalize.css">
<link rel="stylesheet" type="text/css" href="../rustdoc.css">
<link rel="stylesheet" type="text/css" href="../main.css">
</head>
<body class="rustdoc struct">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<p class='location'>Struct WindowAttr</p><div class="block items"><ul><li><a href="#fields">Fields</a></li><li><a href="#implementations">Trait Implementations</a></li></ul></div><p class='location'><a href='index.html'>gdk</a></p><script>window.sidebarCurrent = {name: 'WindowAttr', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
</nav>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Struct <a href='index.html'>gdk</a>::<wbr><a class="struct" href=''>WindowAttr</a></span><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'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../src/gdk/window.rs.html#23-36' title='goto source code'>[src]</a></span></h1>
<pre class='rust struct'>pub struct WindowAttr {
pub title: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
pub event_mask: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
pub x: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;,
pub y: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;,
pub width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
pub height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
pub wclass: <a class="enum" href="../gdk/enum.WindowWindowClass.html" title="enum gdk::WindowWindowClass">WindowWindowClass</a>,
pub visual: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../gdk/struct.Visual.html" title="struct gdk::Visual">Visual</a>&gt;,
pub window_type: <a class="enum" href="../gdk/enum.WindowType.html" title="enum gdk::WindowType">WindowType</a>,
pub cursor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../gdk/struct.Cursor.html" title="struct gdk::Cursor">Cursor</a>&gt;,
pub override_redirect: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
pub type_hint: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../gdk/enum.WindowTypeHint.html" title="enum gdk::WindowTypeHint">WindowTypeHint</a>&gt;,
}</pre><h2 id='fields' class='fields'>Fields</h2><span id='structfield.title' class="structfield">
<span id='title.v' class='invisible'>
<code>title: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code>
</span></span><span id='structfield.event_mask' class="structfield">
<span id='event_mask.v' class='invisible'>
<code>event_mask: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code>
</span></span><span id='structfield.x' class="structfield">
<span id='x.v' class='invisible'>
<code>x: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code>
</span></span><span id='structfield.y' class="structfield">
<span id='y.v' class='invisible'>
<code>y: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code>
</span></span><span id='structfield.width' class="structfield">
<span id='width.v' class='invisible'>
<code>width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code>
</span></span><span id='structfield.height' class="structfield">
<span id='height.v' class='invisible'>
<code>height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code>
</span></span><span id='structfield.wclass' class="structfield">
<span id='wclass.v' class='invisible'>
<code>wclass: <a class="enum" href="../gdk/enum.WindowWindowClass.html" title="enum gdk::WindowWindowClass">WindowWindowClass</a></code>
</span></span><span id='structfield.visual' class="structfield">
<span id='visual.v' class='invisible'>
<code>visual: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../gdk/struct.Visual.html" title="struct gdk::Visual">Visual</a>&gt;</code>
</span></span><span id='structfield.window_type' class="structfield">
<span id='window_type.v' class='invisible'>
<code>window_type: <a class="enum" href="../gdk/enum.WindowType.html" title="enum gdk::WindowType">WindowType</a></code>
</span></span><span id='structfield.cursor' class="structfield">
<span id='cursor.v' class='invisible'>
<code>cursor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../gdk/struct.Cursor.html" title="struct gdk::Cursor">Cursor</a>&gt;</code>
</span></span><span id='structfield.override_redirect' class="structfield">
<span id='override_redirect.v' class='invisible'>
<code>override_redirect: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code>
</span></span><span id='structfield.type_hint' class="structfield">
<span id='type_hint.v' class='invisible'>
<code>type_hint: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../gdk/enum.WindowTypeHint.html" title="enum gdk::WindowTypeHint">WindowTypeHint</a>&gt;</code>
</span></span><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../gdk/struct.WindowAttr.html" title="struct gdk::WindowAttr">WindowAttr</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/window.rs.html#38-56' title='goto source code'>[src]</a></span></h3>
<div class='impl-items'><h4 id='method.default' class="method"><span id='default.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../gdk/struct.WindowAttr.html" title="struct gdk::WindowAttr">WindowAttr</a></code></span></h4>
<div class='docblock'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a&gt; <a class="trait" href="../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../gdk_sys/struct.GdkWindowAttr.html" title="struct gdk_sys::GdkWindowAttr">GdkWindowAttr</a>&gt; for <a class="struct" href="../gdk/struct.WindowAttr.html" title="struct gdk::WindowAttr">WindowAttr</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/window.rs.html#72-104' title='goto source code'>[src]</a></span></h3>
<div class='impl-items'><h4 id='associatedtype.Storage' class="type"><span id='Storage.t' class='invisible'><code>type <a href='../glib/translate/trait.ToGlibPtr.html#associatedtype.Storage' class="type">Storage</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="struct" href="../gdk_sys/struct.GdkWindowAttr.html" title="struct gdk_sys::GdkWindowAttr">GdkWindowAttr</a>&gt;, <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../gdk_sys/struct.GdkVisual.html" title="struct gdk_sys::GdkVisual">GdkVisual</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../gdk/struct.Visual.html" title="struct gdk::Visual">Visual</a>&gt;&gt;, <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../gdk_sys/struct.GdkCursor.html" title="struct gdk_sys::GdkCursor">GdkCursor</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../gdk/struct.Cursor.html" title="struct gdk::Cursor">Cursor</a>&gt;&gt;, <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="type" href="../libc/unix/notbsd/linux/other/b64/x86_64/type.c_char.html" title="type libc::unix::notbsd::linux::other::b64::x86_64::c_char">c_char</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
<h4 id='method.to_glib_none' class="method"><span id='to_glib_none.v' class='invisible'><code>fn <a href='../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none' class='fnname'>to_glib_none</a>(&amp;'a self) -&gt; <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../gdk_sys/struct.GdkWindowAttr.html" title="struct gdk_sys::GdkWindowAttr">GdkWindowAttr</a>, Self&gt;</code></span></h4>
<div class='docblock'><p>Transfer: none. <a href="../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none">Read more</a></p>
</div><h4 id='method.to_glib_container' class="method"><span id='to_glib_container.v' class='invisible'><code>fn <a href='../glib/translate/trait.ToGlibPtr.html#method.to_glib_container' class='fnname'>to_glib_container</a>(&amp;'a self) -&gt; <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a>&lt;'a, P, Self&gt;</code></span></h4>
<div class='docblock'><p>Transfer: container. <a href="../glib/translate/trait.ToGlibPtr.html#method.to_glib_container">Read more</a></p>
</div><h4 id='method.to_glib_full' class="method"><span id='to_glib_full.v' class='invisible'><code>fn <a href='../glib/translate/trait.ToGlibPtr.html#method.to_glib_full' class='fnname'>to_glib_full</a>(&amp;self) -&gt; P</code></span></h4>
<div class='docblock'><p>Transfer: full. <a href="../glib/translate/trait.ToGlibPtr.html#method.to_glib_full">Read more</a></p>
</div></div></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>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>&larrb;</dt>
<dd>Move up in search results</dd>
<dt>&rarrb;</dt>
<dd>Move down in search results</dd>
<dt>&#9166;</dt>
<dd>Go to active search result</dd>
<dt>+</dt>
<dd>Collapse/expand 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>
</div>
</div>
</aside>
<script>
window.rootPath = "../";
window.currentCrate = "gdk";
</script>
<script src="../main.js"></script>
<script defer src="../search-index.js"></script>
</body>
</html>