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

173 lines
41 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 `DisplayExt` trait in crate `gdk`.">
<meta name="keywords" content="rust, rustlang, rust-lang, DisplayExt">
<title>gdk::DisplayExt - 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 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">
<p class='location'>Trait DisplayExt</p><div class="block items"><ul><li><a href="#required-methods">Required Methods</a></li><li><a href="#implementors">Implementors</a></li></ul></div><p class='location'><a href='index.html'>gdk</a></p><script>window.sidebarCurrent = {name: 'DisplayExt', ty: 'trait', 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'>Trait <a href='index.html'>gdk</a>::<wbr><a class="trait" href=''>DisplayExt</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/auto/display.rs.html#60-173' title='goto source code'>[src]</a></span></h1>
<pre class='rust trait'>pub trait DisplayExt {
fn <a href='#tymethod.beep' class='fnname'>beep</a>(&amp;self);
fn <a href='#tymethod.close' class='fnname'>close</a>(&amp;self);
fn <a href='#tymethod.device_is_grabbed' class='fnname'>device_is_grabbed</a>&lt;P:&nbsp;<a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a>&lt;<a class="struct" href="../gdk/struct.Device.html" title="struct gdk::Device">Device</a>&gt;&gt;(&amp;self, device: &amp;P) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.flush' class='fnname'>flush</a>(&amp;self);
fn <a href='#tymethod.get_app_launch_context' class='fnname'>get_app_launch_context</a>(&amp;self) -&gt; <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.AppLaunchContext.html" title="struct gdk::AppLaunchContext">AppLaunchContext</a>&gt;;
fn <a href='#tymethod.get_default_cursor_size' class='fnname'>get_default_cursor_size</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>;
fn <a href='#tymethod.get_default_group' class='fnname'>get_default_group</a>(&amp;self) -&gt; <a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>;
fn <a href='#tymethod.get_default_screen' class='fnname'>get_default_screen</a>(&amp;self) -&gt; <a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>;
fn <a href='#tymethod.get_default_seat' class='fnname'>get_default_seat</a>(&amp;self) -&gt; <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.Seat.html" title="struct gdk::Seat">Seat</a>&gt;;
fn <a href='#tymethod.get_device_manager' class='fnname'>get_device_manager</a>(&amp;self) -&gt; <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.DeviceManager.html" title="struct gdk::DeviceManager">DeviceManager</a>&gt;;
fn <a href='#tymethod.get_event' class='fnname'>get_event</a>(&amp;self) -&gt; <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.Event.html" title="struct gdk::Event">Event</a>&gt;;
fn <a href='#tymethod.get_maximal_cursor_size' class='fnname'>get_maximal_cursor_size</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
fn <a href='#tymethod.get_monitor' class='fnname'>get_monitor</a>(&amp;self, monitor_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;;
fn <a href='#tymethod.get_monitor_at_point' class='fnname'>get_monitor_at_point</a>(&amp;self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;;
fn <a href='#tymethod.get_monitor_at_window' class='fnname'>get_monitor_at_window</a>(&amp;self, window: &amp;<a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;;
fn <a href='#tymethod.get_n_monitors' class='fnname'>get_n_monitors</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
fn <a href='#tymethod.get_n_screens' class='fnname'>get_n_screens</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
fn <a href='#tymethod.get_pointer' class='fnname'>get_pointer</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="struct" href="../gdk/struct.ModifierType.html" title="struct gdk::ModifierType">ModifierType</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
fn <a href='#tymethod.get_primary_monitor' class='fnname'>get_primary_monitor</a>(&amp;self) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;;
fn <a href='#tymethod.get_screen' class='fnname'>get_screen</a>(&amp;self, screen_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>;
fn <a href='#tymethod.get_window_at_pointer' class='fnname'>get_window_at_pointer</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</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.Window.html" title="struct gdk::Window">Window</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
fn <a href='#tymethod.has_pending' class='fnname'>has_pending</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.is_closed' class='fnname'>is_closed</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.keyboard_ungrab' class='fnname'>keyboard_ungrab</a>(&amp;self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
fn <a href='#tymethod.list_devices' class='fnname'>list_devices</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../gdk/struct.Device.html" title="struct gdk::Device">Device</a>&gt;;
fn <a href='#tymethod.list_seats' class='fnname'>list_seats</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>&gt;;
fn <a href='#tymethod.notify_startup_complete' class='fnname'>notify_startup_complete</a>(&amp;self, startup_id: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
fn <a href='#tymethod.peek_event' class='fnname'>peek_event</a>(&amp;self) -&gt; <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.Event.html" title="struct gdk::Event">Event</a>&gt;;
fn <a href='#tymethod.pointer_is_grabbed' class='fnname'>pointer_is_grabbed</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.pointer_ungrab' class='fnname'>pointer_ungrab</a>(&amp;self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
fn <a href='#tymethod.put_event' class='fnname'>put_event</a>(&amp;self, event: &amp;<a class="struct" href="../gdk/struct.Event.html" title="struct gdk::Event">Event</a>);
fn <a href='#tymethod.request_selection_notification' class='fnname'>request_selection_notification</a>(&amp;self, selection: &amp;<a class="struct" href="../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.set_double_click_distance' class='fnname'>set_double_click_distance</a>(&amp;self, distance: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
fn <a href='#tymethod.set_double_click_time' class='fnname'>set_double_click_time</a>(&amp;self, msec: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
fn <a href='#tymethod.store_clipboard' class='fnname'>store_clipboard</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipboard_window: &amp;<a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;targets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[</a>&amp;<a class="struct" href="../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br>&nbsp;&nbsp;&nbsp;&nbsp;);
fn <a href='#tymethod.supports_clipboard_persistence' class='fnname'>supports_clipboard_persistence</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.supports_composite' class='fnname'>supports_composite</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.supports_cursor_alpha' class='fnname'>supports_cursor_alpha</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.supports_cursor_color' class='fnname'>supports_cursor_color</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.supports_input_shapes' class='fnname'>supports_input_shapes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.supports_selection_notification' class='fnname'>supports_selection_notification</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.supports_shapes' class='fnname'>supports_shapes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
fn <a href='#tymethod.sync' class='fnname'>sync</a>(&amp;self);
fn <a href='#tymethod.warp_pointer' class='fnname'>warp_pointer</a>(&amp;self, screen: &amp;<a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
fn <a href='#tymethod.connect_closed' class='fnname'>connect_closed</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
fn <a href='#tymethod.connect_monitor_added' class='fnname'>connect_monitor_added</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f: F<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
fn <a href='#tymethod.connect_monitor_removed' class='fnname'>connect_monitor_removed</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f: F<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
fn <a href='#tymethod.connect_opened' class='fnname'>connect_opened</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
fn <a href='#tymethod.connect_seat_added' class='fnname'>connect_seat_added</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
fn <a href='#tymethod.connect_seat_removed' class='fnname'>connect_seat_removed</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
}</pre>
<h2 id='required-methods'>Required Methods</h2>
<div class='methods'>
<h3 id='tymethod.beep' class='method'><span id='beep.v' class='invisible'><code>fn <a href='#tymethod.beep' class='fnname'>beep</a>(&amp;self)</code></span></h3><h3 id='tymethod.close' class='method'><span id='close.v' class='invisible'><code>fn <a href='#tymethod.close' class='fnname'>close</a>(&amp;self)</code></span></h3><h3 id='tymethod.device_is_grabbed' class='method'><span id='device_is_grabbed.v' class='invisible'><code>fn <a href='#tymethod.device_is_grabbed' class='fnname'>device_is_grabbed</a>&lt;P:&nbsp;<a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a>&lt;<a class="struct" href="../gdk/struct.Device.html" title="struct gdk::Device">Device</a>&gt;&gt;(&amp;self, device: &amp;P) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.flush' class='method'><span id='flush.v' class='invisible'><code>fn <a href='#tymethod.flush' class='fnname'>flush</a>(&amp;self)</code></span></h3><h3 id='tymethod.get_app_launch_context' class='method'><span id='get_app_launch_context.v' class='invisible'><code>fn <a href='#tymethod.get_app_launch_context' class='fnname'>get_app_launch_context</a>(&amp;self) -&gt; <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.AppLaunchContext.html" title="struct gdk::AppLaunchContext">AppLaunchContext</a>&gt;</code></span></h3><h3 id='tymethod.get_default_cursor_size' class='method'><span id='get_default_cursor_size.v' class='invisible'><code>fn <a href='#tymethod.get_default_cursor_size' class='fnname'>get_default_cursor_size</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><h3 id='tymethod.get_default_group' class='method'><span id='get_default_group.v' class='invisible'><code>fn <a href='#tymethod.get_default_group' class='fnname'>get_default_group</a>(&amp;self) -&gt; <a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a></code></span></h3><h3 id='tymethod.get_default_screen' class='method'><span id='get_default_screen.v' class='invisible'><code>fn <a href='#tymethod.get_default_screen' class='fnname'>get_default_screen</a>(&amp;self) -&gt; <a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a></code></span></h3><h3 id='tymethod.get_default_seat' class='method'><span id='get_default_seat.v' class='invisible'><code>fn <a href='#tymethod.get_default_seat' class='fnname'>get_default_seat</a>(&amp;self) -&gt; <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.Seat.html" title="struct gdk::Seat">Seat</a>&gt;</code></span></h3><h3 id='tymethod.get_device_manager' class='method'><span id='get_device_manager.v' class='invisible'><code>fn <a href='#tymethod.get_device_manager' class='fnname'>get_device_manager</a>(&amp;self) -&gt; <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.DeviceManager.html" title="struct gdk::DeviceManager">DeviceManager</a>&gt;</code></span></h3><h3 id='tymethod.get_event' class='method'><span id='get_event.v' class='invisible'><code>fn <a href='#tymethod.get_event' class='fnname'>get_event</a>(&amp;self) -&gt; <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.Event.html" title="struct gdk::Event">Event</a>&gt;</code></span></h3><h3 id='tymethod.get_maximal_cursor_size' class='method'><span id='get_maximal_cursor_size.v' class='invisible'><code>fn <a href='#tymethod.get_maximal_cursor_size' class='fnname'>get_maximal_cursor_size</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.get_monitor' class='method'><span id='get_monitor.v' class='invisible'><code>fn <a href='#tymethod.get_monitor' class='fnname'>get_monitor</a>(&amp;self, monitor_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;</code></span></h3><h3 id='tymethod.get_monitor_at_point' class='method'><span id='get_monitor_at_point.v' class='invisible'><code>fn <a href='#tymethod.get_monitor_at_point' class='fnname'>get_monitor_at_point</a>(&amp;self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;</code></span></h3><h3 id='tymethod.get_monitor_at_window' class='method'><span id='get_monitor_at_window.v' class='invisible'><code>fn <a href='#tymethod.get_monitor_at_window' class='fnname'>get_monitor_at_window</a>(&amp;self, window: &amp;<a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;</code></span></h3><h3 id='tymethod.get_n_monitors' class='method'><span id='get_n_monitors.v' class='invisible'><code>fn <a href='#tymethod.get_n_monitors' class='fnname'>get_n_monitors</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h3><h3 id='tymethod.get_n_screens' class='method'><span id='get_n_screens.v' class='invisible'><code>fn <a href='#tymethod.get_n_screens' class='fnname'>get_n_screens</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h3><h3 id='tymethod.get_name' class='method'><span id='get_name.v' class='invisible'><code>fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span></h3><h3 id='tymethod.get_pointer' class='method'><span id='get_pointer.v' class='invisible'><code>fn <a href='#tymethod.get_pointer' class='fnname'>get_pointer</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="struct" href="../gdk/struct.ModifierType.html" title="struct gdk::ModifierType">ModifierType</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.get_primary_monitor' class='method'><span id='get_primary_monitor.v' class='invisible'><code>fn <a href='#tymethod.get_primary_monitor' class='fnname'>get_primary_monitor</a>(&amp;self) -&gt; <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.Monitor.html" title="struct gdk::Monitor">Monitor</a>&gt;</code></span></h3><h3 id='tymethod.get_screen' class='method'><span id='get_screen.v' class='invisible'><code>fn <a href='#tymethod.get_screen' class='fnname'>get_screen</a>(&amp;self, screen_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a></code></span></h3><h3 id='tymethod.get_window_at_pointer' class='method'><span id='get_window_at_pointer.v' class='invisible'><code>fn <a href='#tymethod.get_window_at_pointer' class='fnname'>get_window_at_pointer</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</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.Window.html" title="struct gdk::Window">Window</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.has_pending' class='method'><span id='has_pending.v' class='invisible'><code>fn <a href='#tymethod.has_pending' class='fnname'>has_pending</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.is_closed' class='method'><span id='is_closed.v' class='invisible'><code>fn <a href='#tymethod.is_closed' class='fnname'>is_closed</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.keyboard_ungrab' class='method'><span id='keyboard_ungrab.v' class='invisible'><code>fn <a href='#tymethod.keyboard_ungrab' class='fnname'>keyboard_ungrab</a>(&amp;self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.list_devices' class='method'><span id='list_devices.v' class='invisible'><code>fn <a href='#tymethod.list_devices' class='fnname'>list_devices</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../gdk/struct.Device.html" title="struct gdk::Device">Device</a>&gt;</code></span></h3><h3 id='tymethod.list_seats' class='method'><span id='list_seats.v' class='invisible'><code>fn <a href='#tymethod.list_seats' class='fnname'>list_seats</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>&gt;</code></span></h3><h3 id='tymethod.notify_startup_complete' class='method'><span id='notify_startup_complete.v' class='invisible'><code>fn <a href='#tymethod.notify_startup_complete' class='fnname'>notify_startup_complete</a>(&amp;self, startup_id: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>)</code></span></h3><h3 id='tymethod.peek_event' class='method'><span id='peek_event.v' class='invisible'><code>fn <a href='#tymethod.peek_event' class='fnname'>peek_event</a>(&amp;self) -&gt; <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.Event.html" title="struct gdk::Event">Event</a>&gt;</code></span></h3><h3 id='tymethod.pointer_is_grabbed' class='method'><span id='pointer_is_grabbed.v' class='invisible'><code>fn <a href='#tymethod.pointer_is_grabbed' class='fnname'>pointer_is_grabbed</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.pointer_ungrab' class='method'><span id='pointer_ungrab.v' class='invisible'><code>fn <a href='#tymethod.pointer_ungrab' class='fnname'>pointer_ungrab</a>(&amp;self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.put_event' class='method'><span id='put_event.v' class='invisible'><code>fn <a href='#tymethod.put_event' class='fnname'>put_event</a>(&amp;self, event: &amp;<a class="struct" href="../gdk/struct.Event.html" title="struct gdk::Event">Event</a>)</code></span></h3><h3 id='tymethod.request_selection_notification' class='method'><span id='request_selection_notification.v' class='invisible'><code>fn <a href='#tymethod.request_selection_notification' class='fnname'>request_selection_notification</a>(&amp;self, selection: &amp;<a class="struct" href="../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.set_double_click_distance' class='method'><span id='set_double_click_distance.v' class='invisible'><code>fn <a href='#tymethod.set_double_click_distance' class='fnname'>set_double_click_distance</a>(&amp;self, distance: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.set_double_click_time' class='method'><span id='set_double_click_time.v' class='invisible'><code>fn <a href='#tymethod.set_double_click_time' class='fnname'>set_double_click_time</a>(&amp;self, msec: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.store_clipboard' class='method'><span id='store_clipboard.v' class='invisible'><code>fn <a href='#tymethod.store_clipboard' class='fnname'>store_clipboard</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;clipboard_window: &amp;<a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;targets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[</a>&amp;<a class="struct" href="../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br>)</code></span></h3><h3 id='tymethod.supports_clipboard_persistence' class='method'><span id='supports_clipboard_persistence.v' class='invisible'><code>fn <a href='#tymethod.supports_clipboard_persistence' class='fnname'>supports_clipboard_persistence</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_composite' class='method'><span id='supports_composite.v' class='invisible'><code>fn <a href='#tymethod.supports_composite' class='fnname'>supports_composite</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_cursor_alpha' class='method'><span id='supports_cursor_alpha.v' class='invisible'><code>fn <a href='#tymethod.supports_cursor_alpha' class='fnname'>supports_cursor_alpha</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_cursor_color' class='method'><span id='supports_cursor_color.v' class='invisible'><code>fn <a href='#tymethod.supports_cursor_color' class='fnname'>supports_cursor_color</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_input_shapes' class='method'><span id='supports_input_shapes.v' class='invisible'><code>fn <a href='#tymethod.supports_input_shapes' class='fnname'>supports_input_shapes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_selection_notification' class='method'><span id='supports_selection_notification.v' class='invisible'><code>fn <a href='#tymethod.supports_selection_notification' class='fnname'>supports_selection_notification</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_shapes' class='method'><span id='supports_shapes.v' class='invisible'><code>fn <a href='#tymethod.supports_shapes' class='fnname'>supports_shapes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.sync' class='method'><span id='sync.v' class='invisible'><code>fn <a href='#tymethod.sync' class='fnname'>sync</a>(&amp;self)</code></span></h3><h3 id='tymethod.warp_pointer' class='method'><span id='warp_pointer.v' class='invisible'><code>fn <a href='#tymethod.warp_pointer' class='fnname'>warp_pointer</a>(&amp;self, screen: &amp;<a class="struct" href="../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</code></span></h3><h3 id='tymethod.connect_closed' class='method'><span id='connect_closed.v' class='invisible'><code>fn <a href='#tymethod.connect_closed' class='fnname'>connect_closed</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_monitor_added' class='method'><span id='connect_monitor_added.v' class='invisible'><code>fn <a href='#tymethod.connect_monitor_added' class='fnname'>connect_monitor_added</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_monitor_removed' class='method'><span id='connect_monitor_removed.v' class='invisible'><code>fn <a href='#tymethod.connect_monitor_removed' class='fnname'>connect_monitor_removed</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_opened' class='method'><span id='connect_opened.v' class='invisible'><code>fn <a href='#tymethod.connect_opened' class='fnname'>connect_opened</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_seat_added' class='method'><span id='connect_seat_added.v' class='invisible'><code>fn <a href='#tymethod.connect_seat_added' class='fnname'>connect_seat_added</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_seat_removed' class='method'><span id='connect_seat_removed.v' class='invisible'><code>fn <a href='#tymethod.connect_seat_removed' class='fnname'>connect_seat_removed</a>&lt;F:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self, &amp;<a class="struct" href="../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static&gt;(&amp;self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3></div>
<h2 id='implementors'>Implementors</h2>
<ul class='item-list' id='implementors-list'>
<li><code>impl&lt;O:&nbsp;<a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a>&lt;<a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a>&gt; + <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a>&lt;<a class="struct" href="../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>&gt;&gt; DisplayExt for O</code></li>
</ul><script type="text/javascript" async
src="../implementors/gdk/trait.DisplayExt.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>?</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>